From 5ef214a1c625f52c41e9f1cb7b6753032740ec07 Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Fri, 1 Dec 2023 16:32:17 -0500 Subject: [PATCH] Fix isActive --- src/AppLayout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppLayout/index.tsx b/src/AppLayout/index.tsx index e707f3d..02b0265 100644 --- a/src/AppLayout/index.tsx +++ b/src/AppLayout/index.tsx @@ -400,7 +400,7 @@ const MyPage = ({ action: NavSelectionClass.MeshOverlay, centerName: centerNameOf(layerUrl), })} - isActive={leftSurfaces[0].activeLayerUrl === layerUrl} + isActive={firstVisibleLeftSurface.activeLayerUrl === layerUrl} > {centerNameOf(layerUrl)}