Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ export const DebugPanel: React.FC = () => {
padding: 0,
fontSize: FontSizes.size12,
}}
onClick={() => {
onExpandPanel(key);
}}
>
{element}
</Label>
Expand All @@ -108,6 +105,9 @@ export const DebugPanel: React.FC = () => {
fontSize: FontSizes.size14,
},
}}
onLinkClick={(pivotItem) => {
if (pivotItem?.props.itemKey != null) onExpandPanel(pivotItem?.props.itemKey as DebugDrawerKeys);
}}
>
{tabTitles}
</Pivot>
Expand Down