ErriGarcia / ErriGarcia/task-master

bug: create board

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When I create a new board I want to show the board in the function (line 84 - Header.jsx):

`const handleCreateBoardClick = () => {
if (!newNameBoard) {
setModalNewBoard(true)
} else {
api.board.create(newNameBoard, columnList)
setModalNewBoard(false)
setCurrentBoard(allBoards[allBoards.length-1])
}
}`

I set as the current board the last one but it shows the 3rd one (the last board in the data)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.