diff --git a/invokeai/frontend/web/src/features/gallery/components/Boards/BoardsList/BoardsList.tsx b/invokeai/frontend/web/src/features/gallery/components/Boards/BoardsList/BoardsList.tsx index 93c148ee22..46d77358b3 100644 --- a/invokeai/frontend/web/src/features/gallery/components/Boards/BoardsList/BoardsList.tsx +++ b/invokeai/frontend/web/src/features/gallery/components/Boards/BoardsList/BoardsList.tsx @@ -42,11 +42,11 @@ export const BoardsList = ({ isPrivate }: { isPrivate?: boolean }) => { const boardElements = useMemo(() => { const elements = []; if (allowPrivateBoards && isPrivate && !boardSearchText.length) { - elements.push(); + elements.push(); } if (!allowPrivateBoards && !boardSearchText.length) { - elements.push(); + elements.push(); } filteredBoards.forEach((board) => { @@ -105,7 +105,7 @@ export const BoardsList = ({ isPrivate }: { isPrivate?: boolean }) => { {boardElements.length ? ( - <>{boardElements} + boardElements ) : ( {t('boards.noBoards', { boardType: boardSearchText.length ? 'Matching' : '' })}