Skip to content

Commit

Permalink
fix + update version
Browse files Browse the repository at this point in the history
  • Loading branch information
aralroca committed Oct 30, 2021
1 parent a1a9b00 commit 3117202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fragstore",
"version": "0.5.0",
"version": "0.6.0-canary.1",
"description": "Tiny, easy and powerful React state management (less than 1kb)",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default function createStore(defaultStore = {}, callback) {
// Update a field
setField(allStore, fieldPath, value) :
// Update all the store
{...allStore, ...value};
value;

// Notifying to all subscribers
subscription._notify(DOT+path, {
Expand Down

0 comments on commit 3117202

Please sign in to comment.