Skip to content

Commit

Permalink
fix issues
Browse files Browse the repository at this point in the history
  • Loading branch information
001elijah committed Jun 27, 2023
1 parent 2c6e2a9 commit 3436945
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MainBoard/MainBoard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const MainBoard = () => {
imgid={imgid}
colorbg={curTheme}
>
<HeaderDashBoard title={getBoard.title} />
<HeaderDashBoard title={board.title} />
<ContentBoard>
<ColumnsList>
{board?.columns.map(item => (
Expand Down
1 change: 1 addition & 0 deletions src/redux/Columns/ColumnSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const boardSlice = createSlice({
builder
.addCase(addColumn.fulfilled, (state, { payload }) => {
state.column = [12];
console.log(payload);
})
.addCase(editColumn.fulfilled, (state, { payload }) => {
console.log(payload);
Expand Down

0 comments on commit 3436945

Please sign in to comment.