From 6324b39904fa9b8c88bf442b68358316412c1f1e Mon Sep 17 00:00:00 2001 From: Vishal Date: Wed, 18 Dec 2024 15:36:18 +0530 Subject: [PATCH] Removed extra entry in the array --- .../src/components/field/ScalarList/ScalarList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-sdk-components/src/components/field/ScalarList/ScalarList.tsx b/packages/react-sdk-components/src/components/field/ScalarList/ScalarList.tsx index 5b02844c..03563c46 100644 --- a/packages/react-sdk-components/src/components/field/ScalarList/ScalarList.tsx +++ b/packages/react-sdk-components/src/components/field/ScalarList/ScalarList.tsx @@ -49,7 +49,7 @@ export default function ScalarList(props: ScalarListProps) { ); // 2nd, 3rd, and 4th args empty string/object/null until typedef marked correctly as optional; }); - if (['LABELS_LEFT', 'STACKED_LARGE_VAL', 'LABELS_LEFT'].includes(displayMode)) { + if (['LABELS_LEFT', 'STACKED_LARGE_VAL'].includes(displayMode)) { return (