Skip to content

Commit cce0136

Browse files
authored
Update osa6c.md
initalState, -> initalState: [] initialState should be now initialState: [], as guided before.
1 parent 21a72c3 commit cce0136

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/6/fi/osa6c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Monen actionin dispatchaaminen vaikuttaa hieman epäkäytännölliseltä. Lisät
153153

154154
const noteSlice = createSlice({
155155
name: 'notes',
156-
initialState,
156+
initialState: [],
157157
reducers: {
158158
createNote(state, action) {
159159
const content = action.payload

0 commit comments

Comments
 (0)