Skip to content

Commit a751ebe

Browse files
fdonzellorainerhahnekamp
authored andcommitted
Update README.md
Fixed syntax typo for `updateState` function.
1 parent 8af7707 commit a751ebe

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ The Signal Store does not use the Redux pattern, so there are no action names in
8484
patchState(this.store, { loading: false });
8585

8686
// updateState is a wrapper around patchState and has an action name as second parameter
87-
updateState(this.store
88-
'update loading', { loading: false }
89-
)
90-
;
87+
updateState(this.store, 'update loading', { loading: false });
9188
```
9289

9390
## Redux: `withRedux()`

0 commit comments

Comments
 (0)