Skip to content

Commit 60eaac6

Browse files
authored
docs(custom-useatom-hooks): simply fix typo (#1283)
1 parent 49b50fe commit 60eaac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced-recipes/custom-useatom-hooks.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export function useFocusAtom(anAtom, keyFn) {
6565
// how to use it
6666
useFocusAtom(anAtom) {
6767
useMemo(() => atom(initValue), [initValue]),
68-
useCallBack((optic) => optic.prop('key'), [])
68+
useCallback((optic) => optic.prop('key'), [])
6969
}
7070
```
7171

0 commit comments

Comments
 (0)