Skip to content

Commit

Permalink
Only show highlight for pinned-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
ioedeveloper committed Jun 3, 2024
1 parent 66ea268 commit 4c62d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/app/components/pinned-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
}

Expand Down
2 changes: 1 addition & 1 deletion libs/remix-ui/panel/src/lib/plugins/panel-plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const RemixUIPanelPlugin = (props: panelPLuginProps, panelRef: any) => {
}, [])

useEffect(() => {
setShowHighlight(true)
if (props.highlightStamp) setShowHighlight(true)
}, [props.highlightStamp])

useEffect(() => {
Expand Down

0 comments on commit 4c62d5a

Please sign in to comment.