diff --git a/src/App.tsx b/src/App.tsx index ece7587..5cab589 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -35,21 +35,20 @@ export default function App() { ) : ( <> - - {appRef.current.server?.meta && ( - <> - - - - - > - )} + + + + + + + + diff --git a/src/components/view/Sidebar.tsx b/src/components/view/Sidebar.tsx index 1157d0c..07934d6 100644 --- a/src/components/view/Sidebar.tsx +++ b/src/components/view/Sidebar.tsx @@ -58,16 +58,20 @@ export default function Sidebar({ appRef: React.RefObject; }) { return ( - appRef.current?.server?.meta && ( - - - {appRef.current.server.meta.name} - + + {appRef.current?.server?.meta && ( + <> + + {appRef.current.server.meta.name} + - - - - - ) + + + + > + )} + + + ); }