Skip to content

Commit

Permalink
Fix store-persistence example (#2667)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppester committed Aug 8, 2024
1 parent 7c14615 commit 2875d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/integrations/persisting-store-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ const useBoundStore = create(
{
// ...
onRehydrateStorage: (state) => {
state.setHasHydrated(true)
return () => state.setHasHydrated(true)
}
}
)
Expand Down

0 comments on commit 2875d07

Please sign in to comment.