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 a4554ed commit 635fc47Copy full SHA for 635fc47
src/index.js
@@ -63,7 +63,7 @@ export default function createCopyOnWriteState<T>(baseState: T) {
63
`update(...): you cannot call update when no CopyOnWriteStoreProvider ` +
64
`instance is mounted. Make sure to wrap your consumer components with ` +
65
`the returned Provider, and/or delay your update calls until the component ` +
66
- `tree is moutned.`
+ `tree is mounted.`
67
);
68
const nextState = produce(currentState, fn);
69
if (nextState !== currentState) {
0 commit comments