Skip to content

Commit 2495379

Browse files
docs(redux): correct reducer parameters (#131)
As discussed in #128
1 parent f32b36a commit 2495379

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/with-redux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const FlightStore = signalStore(
3030
},
3131
},
3232
reducer(actions, on) {
33-
on(actions.loaded, ({ flights }, state) => {
33+
on(actions.loaded, (state, { flights }) => {
3434
updateState(state, 'flights loaded', { flights });
3535
});
3636
},

0 commit comments

Comments
 (0)