Skip to content

Commit 635fc47

Browse files
stofaweary
authored andcommitted
Fix typo in the error message
1 parent a4554ed commit 635fc47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function createCopyOnWriteState<T>(baseState: T) {
6363
`update(...): you cannot call update when no CopyOnWriteStoreProvider ` +
6464
`instance is mounted. Make sure to wrap your consumer components with ` +
6565
`the returned Provider, and/or delay your update calls until the component ` +
66-
`tree is moutned.`
66+
`tree is mounted.`
6767
);
6868
const nextState = produce(currentState, fn);
6969
if (nextState !== currentState) {

0 commit comments

Comments
 (0)