pull/5371/head
bunsenstraat 2 weeks ago committed by bunsenstraat
parent fac93dc375
commit cbab1a11fb
  1. 30
      apps/remix-ide/src/app/components/popup-panel.tsx

@ -85,7 +85,6 @@ export class PopupPanel extends AbstractPanel {
}
updateComponent(state: popupPanelState & Partial<AppState>) {
console.log("state in updateComponent =", state)
return (
<div
className={'px-0 bg-light border-info ' + (!state.showPopupPanel ? 'd-none' : 'd-flex')}
@ -102,20 +101,21 @@ export class PopupPanel extends AbstractPanel {
}}
data-id="popupPanelPluginsContainer"
>
<RemixPluginPanel
header={
<span id='menubarAIChat' className='pb-2 d-flex flex-row'>
<button
className='btn fas fa-angle-double-down'
onClick={async () => {
console.log("hide")
await this.showPopupPanel(false)
}}
>
</button>
</span>
}
plugins={state.plugins} />
<div className='d-flex flex-column'>
<RemixPluginPanel
header={
<span id='popupPanelToggle' className='pb-2 d-flex flex-row'>
<button
className='btn fas fa-angle-double-down'
onClick={async () => {
await this.showPopupPanel(false)
}}
>
</button>
</span>
}
plugins={state.plugins} />
</div>
</div>
)
}

Loading…
Cancel
Save