diff --git a/src/components/RootLayout.tsx b/src/components/RootLayout.tsx index f3d0654..fb48f2a 100644 --- a/src/components/RootLayout.tsx +++ b/src/components/RootLayout.tsx @@ -3,10 +3,10 @@ import { Outlet, useLocation } from 'react-router-dom'; const RootLayout = () => { const location = useLocation(); - const isFooterHidden = location.pathname.startsWith('/chatroom'); + const isFooterHidden = location.pathname === '/' || location.pathname.startsWith('/chatroom'); return (
-
+
{!isFooterHidden &&