diff --git a/docs/guides/practice-with-no-store-actions.md b/docs/guides/practice-with-no-store-actions.md index 5f5b9ba0..fe9061c4 100644 --- a/docs/guides/practice-with-no-store-actions.md +++ b/docs/guides/practice-with-no-store-actions.md @@ -13,7 +13,7 @@ export const useBoundStore = create((set) => ({ text: 'hello', inc: () => set((state) => ({ count: state.count + 1 })), setText: (text) => set({ text }), -}) +})) ``` This creates a self-contained store with data and actions together.