Skip to content

개정판 오탈자 문의 #231

Closed
Closed
@cookatrice

Description

@cookatrice

p.460 하단 리듀서의 REMOVE에서, 오탈자 발견했어요. 확인 바랍니다.

*오탈자 수정 전 :(

...
[REMOVE]: (state, action) => ({
...state,
todos: state.todos.filter(todo => todo.id !== action.id),
}),
...

*오탈자 수정 후 :)

...
[REMOVE]: (state, action) => ({
...state,
todos: state.todos.filter(todo => todo.id !== action.payload),
}),
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions