feat: kamp page
This commit is contained in:
@@ -8,7 +8,10 @@ import { Header } from "./Header";
|
||||
export function SiteHeader() {
|
||||
const { data: session } = authClient.useSession();
|
||||
const routerState = useRouterState();
|
||||
const isHomepage = routerState.location.pathname === "/";
|
||||
const pathname = routerState.location.pathname;
|
||||
const isHomepage = pathname === "/";
|
||||
|
||||
if (pathname === "/kamp") return null;
|
||||
|
||||
const [isVisible, setIsVisible] = useState(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user