Only show highlight for pinned-panel

pull/4831/head
ioedeveloper 6 months ago committed by Aniket
parent 2a49f55f97
commit bde6219099
  1. 2
      apps/remix-ide/src/app/components/pinned-panel.tsx
  2. 2
      libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx

@ -73,7 +73,7 @@ export class PinnedPanel extends AbstractPanel {
render() {
return (
<section className='panel pinned-panel highlight'> <PluginViewWrapper plugin={this} /></section>
<section className='panel pinned-panel'> <PluginViewWrapper plugin={this} /></section>
)
}

@ -43,7 +43,7 @@ const RemixUIPanelPlugin = (props: panelPLuginProps, panelRef: any) => {
}, [])
useEffect(() => {
setShowHighlight(true)
if (props.highlightStamp) setShowHighlight(true)
}, [props.highlightStamp])
useEffect(() => {

Loading…
Cancel
Save