From 412121fb20754e2f628c058747e26aa67704ff30 Mon Sep 17 00:00:00 2001 From: mkumbobeaty Date: Wed, 11 Sep 2024 08:59:37 +0300 Subject: [PATCH] fix tab order --- .../Editor/Map/LayerStylePanel/Editor/index.tsx | 17 ++++++++--------- .../beta/pages/AccountSettingsPage/index.tsx | 1 - 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/web/src/beta/features/Editor/Map/LayerStylePanel/Editor/index.tsx b/web/src/beta/features/Editor/Map/LayerStylePanel/Editor/index.tsx index 1a02136f47..1585b96f98 100644 --- a/web/src/beta/features/Editor/Map/LayerStylePanel/Editor/index.tsx +++ b/web/src/beta/features/Editor/Map/LayerStylePanel/Editor/index.tsx @@ -53,7 +53,13 @@ const LayerStyleEditor: FC = ({ }, [styleCode, onLayerStyleValueUpdate, layerStyle, setNotification, t]); const tabItems: TabItem[] = [ - //Making code default tab temporary + { + id: "interface", + name: t("Interface"), + children: ( + + ) + }, { id: "code", name: t("Code"), @@ -64,19 +70,12 @@ const LayerStyleEditor: FC = ({ hasLayerStyleSelected={!!layerStyle?.id} /> ) - }, - { - id: "interface", - name: t("Interface"), - children: ( - - ) } ]; return ( - + {layerStyle?.id && (