Skip to content

Commit

Permalink
apply suggestion to sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-fleming committed Aug 12, 2024
1 parent 0669109 commit 98045d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/components.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ From here, the hook can access the using contract's integrated components, stora

Be advised that even if a token contract does not require hooks, the hooks trait must still be implemented.
Contracts may implement the trait with empty functions.
The Contracts for Cairo library, however, offers default empty hook implementations to abstract this away from contracts.
However, the Contracts for Cairo library offers default empty hook implementations to abstract this away from contracts.
Rather than defining the hooks implementation, the using contract just needs to bring the default implementation into scope like this:

[,cairo]
Expand Down

0 comments on commit 98045d2

Please sign in to comment.