diff --git a/app/ClientLayout.js b/app/ClientLayout.js index 92cd4b4..2350b7c 100644 --- a/app/ClientLayout.js +++ b/app/ClientLayout.js @@ -137,6 +137,7 @@ export default function ClientLayout({ children }) { ].includes(pathname); const isProfilePage = pathname === "/profile"; + const isHomePage = pathname === "/"; const isOwner = user?.role === UserRole.OWNER; const isAgent = user?.role === UserRole.AGENT; @@ -165,7 +166,7 @@ export default function ClientLayout({ children }) { return (
{!isAuthPage && !isAuthenticated && ( -