fix hardcoding `filePanel`

pull/5370/head
yann300 2 years ago committed by GitHub
parent fa94f977e7
commit 76a2020175
  1. 2
      libs/remix-ui/panel/src/lib/plugins/panel-header.tsx

@ -35,7 +35,7 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
<header className='d-flex flex-column'> <header className='d-flex flex-column'>
<div className="swapitHeader px-3 pt-2 pb-0 d-flex flex-row"> <div className="swapitHeader px-3 pt-2 pb-0 d-flex flex-row">
<h6 className="pt-0 mb-1" data-id='sidePanelSwapitTitle'> <h6 className="pt-0 mb-1" data-id='sidePanelSwapitTitle'>
<FormattedMessage id={`${plugin?.profile.name || 'filePanel'}.displayName`} defaultMessage={plugin?.profile.displayName || plugin?.profile.name} /> { plugin?.profile?.name && <FormattedMessage id={`${plugin.profile.name}.displayName`} defaultMessage={plugin?.profile?.displayName || plugin?.profile?.name} /> }
</h6> </h6>
<div className="d-flex flex-row"> <div className="d-flex flex-row">
<div className="d-flex flex-row"> <div className="d-flex flex-row">

Loading…
Cancel
Save