Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fedeghe committed Nov 25, 2020
1 parent 5afb81a commit 3f6456a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ From version 1.3.0 is possible to restrict the state transitions passing to `get
Ridof.getStore(reducer, initState, (currentTag, nextTag, state) => {
// here tags are corresponds to action types
// let's say we want only one plugin to be added
if (currentTag === 'ADDPLUGIN' && nextState === 'ADDPLUGIN') return false
if (currentTag === 'ADDPLUGIN' && nextTag === 'ADDPLUGIN') return false
return true
});
```
2 changes: 1 addition & 1 deletion source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ From version 1.3.0 is possible to restrict the state transitions passing to `get
Ridof.getStore(reducer, initState, (currentTag, nextTag, state) => {
// here tags are corresponds to action types
// let's say we want only one plugin to be added
if (currentTag === 'ADDPLUGIN' && nextState === 'ADDPLUGIN') return false
if (currentTag === 'ADDPLUGIN' && nextTag === 'ADDPLUGIN') return false
return true
});
```

0 comments on commit 3f6456a

Please sign in to comment.