chore(docs): fix typo (#2847)

This commit is contained in:
Minsup Lee 2024-11-11 00:42:32 +09:00 committed by GitHub
parent 8b9c374565
commit 15eaeb7aad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {