Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Persist in TypeScript Usage on readme (pmndrs#1193)
* Fix Persist example in Typescript Persist middleware requires the name option to keep storage unique. See https://github.com/pmndrs/zustand/blob/main/docs/persisting-store-data.md#name This change adds the 'name' option to the Typescript Usage example to update it. Additionally, the persist example already has this required option. * run prettier on file
- Loading branch information