diff --git a/components/Layout.tsx b/components/Layout.tsx index 677fcd64..490d6874 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -133,12 +133,10 @@ const Layout = ({ children }: { children: ReactNode }) => { isCollapsed ? 'md:pl-[64px]' : 'pl-[200px]' }`} > -
- - {asPath !== '/rewards' ? : null} - {children} -
- + + {asPath !== '/rewards' ? : null} + {children} + diff --git a/components/SideNav.tsx b/components/SideNav.tsx index e387a4fd..b196c273 100644 --- a/components/SideNav.tsx +++ b/components/SideNav.tsx @@ -105,7 +105,7 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => { alt="next" /> ) : null} -
+
{ } } -const StatusBar = () => { +const StatusBar = ({ collapsed }: { collapsed: boolean }) => { const { t } = useTranslation('common') const [latestCommit, setLatestCommit] = useState(DEFAULT_LATEST_COMMIT) @@ -41,7 +41,11 @@ const StatusBar = () => { }, [latestCommit]) return ( -
+