Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
According to [zustand TypeScript Guide](https://docs.pmnd.rs/zustand/guides/typescript) and [zustand Github TypeScript Usage](/~https://github.com/pmndrs/zustand?tab=readme-ov-file#typescript-usage) instead of create(...), you have to write create<T>()(...) so Typescript can infer the type of the state correctly. This is a workaround for [microsoft/TypeScript#10571](microsoft/TypeScript#10571)
- Loading branch information