From 32017d15a4c11e0cb7717c13da022a01ee152ba5 Mon Sep 17 00:00:00 2001 From: Celian-abd <101793092+Celian-abd@users.noreply.github.com> Date: Fri, 31 Jan 2025 16:07:55 +0100 Subject: [PATCH] fix: Remove non-functional Tailwind class for SegmentationPanel (#4745) --- .../components/SegmentationTable/SegmentationSegments.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/platform/ui-next/src/components/SegmentationTable/SegmentationSegments.tsx b/platform/ui-next/src/components/SegmentationTable/SegmentationSegments.tsx index 3e666b0b3..9d2c5f676 100644 --- a/platform/ui-next/src/components/SegmentationTable/SegmentationSegments.tsx +++ b/platform/ui-next/src/components/SegmentationTable/SegmentationSegments.tsx @@ -33,12 +33,9 @@ export const SegmentationSegments: React.FC<{ return null; } - const segmentCount = Object.keys(representationToUse.segments).length; - const height = mode === 'collapsed' ? 'h-[900px]' : `h-[${segmentCount * 200}px]`; - return ( {Object.values(representationToUse.segments).map(segment => {