From bde6219099810133614fcb29d01b89130523e4c5 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Mon, 3 Jun 2024 13:11:50 +0100 Subject: [PATCH] Only show highlight for pinned-panel --- apps/remix-ide/src/app/components/pinned-panel.tsx | 2 +- libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/components/pinned-panel.tsx b/apps/remix-ide/src/app/components/pinned-panel.tsx index f66c9fc3d2..ea29093f6a 100644 --- a/apps/remix-ide/src/app/components/pinned-panel.tsx +++ b/apps/remix-ide/src/app/components/pinned-panel.tsx @@ -73,7 +73,7 @@ export class PinnedPanel extends AbstractPanel { render() { return ( -
+
) } diff --git a/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx b/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx index 3ef6066ab9..4a371ce915 100644 --- a/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx +++ b/libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx @@ -43,7 +43,7 @@ const RemixUIPanelPlugin = (props: panelPLuginProps, panelRef: any) => { }, []) useEffect(() => { - setShowHighlight(true) + if (props.highlightStamp) setShowHighlight(true) }, [props.highlightStamp]) useEffect(() => {