style: show event title in info panel (#467)

This commit is contained in:
Carlos Valente
2023-07-23 15:41:58 +02:00
committed by GitHub
parent 60799d3d88
commit e49918e8bb
3 changed files with 30 additions and 9 deletions
+2 -5
View File
@@ -1,12 +1,11 @@
import { useInfoPanel } from '../../common/hooks/useSocket';
import InfoHeader from './info-header/InfoHeader';
import CollapsableInfo from './CollapsableInfo';
import InfoLogger from './InfoLogger';
import InfoNif from './InfoNif';
import InfoTitles from './InfoTitles';
import style from './Info.module.scss';
export default function Info() {
const data = useInfoPanel();
@@ -32,9 +31,7 @@ export default function Info() {
return (
<>
<div className={style.panelHeader}>
<span>{selected}</span>
</div>
<InfoHeader selected={selected} />
<CollapsableInfo title='Network Info'>
<InfoNif />
</CollapsableInfo>