Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jroitgrund committed Feb 4, 2025
1 parent 008a546 commit eabd1d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/previous-versions/zustand-v3-create-context.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ import { createStore, useStore } from 'zustand'
const StoreContext = createContext(null)

const StoreProvider = ({ children }) => {
const store] = useState(() => createStore((set) => ({
const [store] = useState(() =>
createStore((set) => ({
// ...
}))
)
Expand Down

0 comments on commit eabd1d7

Please sign in to comment.