Skip to content

Commit

Permalink
Fix isActive
Browse files Browse the repository at this point in the history
  • Loading branch information
jennydaman committed Dec 1, 2023
1 parent 3fa06e5 commit 5ef214a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AppLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ const MyPage = ({
action: NavSelectionClass.MeshOverlay,
centerName: centerNameOf(layerUrl),
})}
isActive={leftSurfaces[0].activeLayerUrl === layerUrl}
isActive={firstVisibleLeftSurface.activeLayerUrl === layerUrl}
>
{centerNameOf(layerUrl)}
</NavItem>
Expand Down

0 comments on commit 5ef214a

Please sign in to comment.