docs: fix the link to slices pattern (#1095)

This commit is contained in:
Devansh Jethmalani 2022-07-17 20:03:39 +05:30 committed by GitHub
parent 28e9614b78
commit 1449732ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ const useStore = create((set) => ({
}))
```
See [Splitting the store into separate slices](https://github.com/pmndrs/zustand/blob/main/docs/typescript.md#interdependent-slices-pattern) for how to define a store with separate slices.
See [Splitting the store into separate slices](https://github.com/pmndrs/zustand/blob/main/docs/typescript.md#slices-pattern) for how to define a store with separate slices.
## Flux like patterns / "Dispatching" actions