Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fixed syntax typo for `updateState` function.
  • Loading branch information
fdonzello authored and rainerhahnekamp committed Sep 23, 2024
1 parent 8af7707 commit a751ebe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ The Signal Store does not use the Redux pattern, so there are no action names in
patchState(this.store, { loading: false });

// updateState is a wrapper around patchState and has an action name as second parameter
updateState(this.store
'update loading', { loading: false }
)
;
updateState(this.store, 'update loading', { loading: false });
```

## Redux: `withRedux()`
Expand Down

0 comments on commit a751ebe

Please sign in to comment.