We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e026d7 commit d9ea330Copy full SHA for d9ea330
1 file changed
docs/guides/testing.md
@@ -352,7 +352,7 @@ export const CounterStoreProvider = ({
352
}: CounterStoreProviderProps) => {
353
const [store] = useState(() => createCounterStore())
354
return (
355
- <CounterStoreContext.Provider value={counterStoreRef.current}>
+ <CounterStoreContext.Provider value={store}>
356
{children}
357
</CounterStoreContext.Provider>
358
)
@@ -567,7 +567,7 @@ export const CounterStoreProvider = ({
567
568
569
570
571
572
573
0 commit comments