mirror of
https://github.com/bendtherules/demo-trello-app.git
synced 2026-08-18 13:42:40 +00:00
Refactor Board into separate TaskList and Taskcard
This commit is contained in:
@@ -54,9 +54,4 @@ export const slice = createSlice({
|
||||
|
||||
export const { createList } = slice.actions;
|
||||
|
||||
// The function below is called a selector and allows us to select a value from
|
||||
// the state. Selectors can also be defined inline where they're used instead of
|
||||
// in the slice file. For example: `useSelector((state) => state.counter.value)`
|
||||
export const selectBoard = state => state.board;
|
||||
|
||||
export default slice.reducer;
|
||||
|
||||
Reference in New Issue
Block a user