Skip to content

Commit

Permalink
docs: update phrase
Browse files Browse the repository at this point in the history
  • Loading branch information
Rettend committed Jun 11, 2023
1 parent e751420 commit 09d960d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/generic-stores.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function baseStore<T extends Category | Todo>() { // [!code ++]

The generic store's properties are passed as optionals when defining the store. This means that we can override them.

This is useful when you want to add a default value to the generic store's state.
This allows you to add a default value to the generic store's state.

```ts
export const useTodoStore = useStore<TodoStore, BaseStore<Todo>>(
Expand Down

0 comments on commit 09d960d

Please sign in to comment.