Refactor Board into separate TaskList and Taskcard

This commit is contained in:
2020-03-30 17:11:45 +05:30
parent 1107232d7a
commit 1770328ad8
7 changed files with 76 additions and 19 deletions
-5
View File
@@ -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;