Skip to content

Commit

Permalink
chore: fix typo (facebook#5074)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessioGr authored Oct 2, 2023
1 parent 7b0ad1b commit 151724c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ type Func = () => void;
* ```
* In this case, useEffect is returning the function returned by mergeRegister as a cleanup
* function to be executed after either the useEffect runs again (due to one of its dependencies
* updating) or the compenent it resides in unmounts.
* updating) or the component it resides in unmounts.
* Note the functions don't neccesarily need to be in an array as all arguements
* are considered to be the func argument and spread from there.
* @param func - An array of functions meant to be executed by the returned function.
Expand Down

0 comments on commit 151724c

Please sign in to comment.