mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
chore(docs): fix typo (#2847)
This commit is contained in:
parent
8b9c374565
commit
15eaeb7aad
@ -293,7 +293,7 @@ In the next examples we are going to use `useCounterStore`
|
||||
> **Note**: all of these examples are written using TypeScript.
|
||||
|
||||
```ts
|
||||
// stores/counter-store-creator.ts
|
||||
// shared/counter-store-creator.ts
|
||||
import { type StateCreator } from 'zustand'
|
||||
|
||||
export type CounterStore = {
|
||||
@ -308,7 +308,7 @@ export const counterStoreCreator: StateCreator<CounterStore> = (set) => ({
|
||||
```
|
||||
|
||||
```ts
|
||||
// stores/user-counter-store.ts
|
||||
// stores/use-counter-store.ts
|
||||
import { create } from 'zustand'
|
||||
|
||||
import {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user