-
-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix documentation for useAtomCallback.
See #2149. The docs were for Jotai v1; update for v2. The change is that the callback function passed to `useAtomCallback` no longer returns a Promise; it just returns the atom value.
- Loading branch information
1 parent
f32e4e4
commit eb4e045
Showing
1 changed file
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters