feat(ui): boards lists start collapsed

This commit is contained in:
psychedelicious 2024-07-09 22:40:50 +10:00
parent d38d513d23
commit 781b800ef7

View File

@ -30,8 +30,8 @@ const BoardsList = () => {
const queryArgs = useAppSelector(selectListBoardsQueryArgs);
const { data: boards } = useListAllBoardsQuery(queryArgs);
const [boardToDelete, setBoardToDelete] = useState<BoardDTO>();
const privateBoardsDisclosure = useDisclosure({ defaultIsOpen: true });
const sharedBoardsDisclosure = useDisclosure({ defaultIsOpen: true });
const privateBoardsDisclosure = useDisclosure({ defaultIsOpen: false });
const sharedBoardsDisclosure = useDisclosure({ defaultIsOpen: false });
const { t } = useTranslation();
const { filteredPrivateBoards, filteredSharedBoards } = useMemo(() => {