diff --git a/web/app/(pages)/layout.tsx b/web/app/(pages)/layout.tsx index ef9144e7..4b11bfbc 100644 --- a/web/app/(pages)/layout.tsx +++ b/web/app/(pages)/layout.tsx @@ -3,16 +3,9 @@ import { Sidebar } from "@/components/custom/sidebar/sidebar" import { CommandPalette } from "@/components/custom/command-palette/command-palette" import { useAccountOrGuest } from "@/lib/providers/jazz-provider" -import { usePathname } from "next/navigation" -import PublicHomeRoute from "@/components/routes/public/PublicHomeRoute" export default function PageLayout({ children }: { children: React.ReactNode }) { const { me } = useAccountOrGuest() - const pathname = usePathname() - - if (me._type === "Anonymous" && pathname === "/") { - return - } return (