mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-19 01:28:38 +02:00
refactor(theme-common): rename useDynamicCallback to useEvent (#7671)
This commit is contained in:
parent
9473508c33
commit
2c7012f706
7 changed files with 15 additions and 15 deletions
|
@ -38,7 +38,7 @@ export {ThemeClassNames} from './utils/ThemeClassNames';
|
|||
|
||||
export {
|
||||
useIsomorphicLayoutEffect,
|
||||
useDynamicCallback, // TODO rename to useEvent()
|
||||
useEvent,
|
||||
usePrevious,
|
||||
ReactContextError,
|
||||
} from './utils/reactUtils';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue