diff --git a/apps/nextjs/src/components/board/sections/container-section.tsx b/apps/nextjs/src/components/board/sections/container-section.tsx index c46a67887..7ad6c31df 100644 --- a/apps/nextjs/src/components/board/sections/container-section.tsx +++ b/apps/nextjs/src/components/board/sections/container-section.tsx @@ -75,7 +75,15 @@ export const BoardContainerSection = ({ section }: Props) => { radius={isVisuallyCollapsed ? board.itemRadius : "sm"} variant="default" justify={options.showLabel ? "flex-start" : "center"} - leftSection={options.showLabel ? isVisuallyCollapsed ? : : undefined} + leftSection={ + options.showLabel ? ( + isVisuallyCollapsed ? ( + + ) : ( + + ) + ) : undefined + } onClick={toggle} aria-expanded={!isVisuallyCollapsed} aria-controls={contentId} @@ -84,7 +92,13 @@ export const BoardContainerSection = ({ section }: Props) => { data-board-container-label title={options.showLabel ? label : undefined} > - {options.showLabel ? label : isVisuallyCollapsed ? : } + {options.showLabel ? ( + label + ) : isVisuallyCollapsed ? ( + + ) : ( + + )} )} {isEditMode && (