Skip to content

Commit

Permalink
[REFACTOR]: list boards without showing subboards (#557)
Browse files Browse the repository at this point in the history
feat: change initial state to false
  • Loading branch information
CatiaAntunes96 authored Nov 7, 2022
1 parent 67c20b5 commit 0f62333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/CardBoard/CardBody/CardBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const CardBody = React.memo<CardBodyProps>(
}) => {
const { _id: id, columns, users, team, dividedBoards, isSubBoard } = board;
const countDividedBoards = dividedBoardsCount || dividedBoards.length;
const [openSubBoards, setSubBoardsOpen] = useState(true);
const [openSubBoards, setSubBoardsOpen] = useState(false);

const newBoard = useRecoilValue(newBoardState);

Expand Down

0 comments on commit 0f62333

Please sign in to comment.