pull/5371/head
bunsenstraat 3 weeks ago
parent 86b012f5bd
commit 452ae03b88
  1. 6
      apps/remix-ide/src/app/components/popup-panel.tsx

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

Loading…
Cancel
Save