We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49b50fe commit 60eaac6Copy full SHA for 60eaac6
docs/advanced-recipes/custom-useatom-hooks.mdx
@@ -65,7 +65,7 @@ export function useFocusAtom(anAtom, keyFn) {
65
// how to use it
66
useFocusAtom(anAtom) {
67
useMemo(() => atom(initValue), [initValue]),
68
- useCallBack((optic) => optic.prop('key'), [])
+ useCallback((optic) => optic.prop('key'), [])
69
}
70
```
71
0 commit comments