feat: suppress Early Access Beta banner on homepage
This commit is contained in:
@@ -5,7 +5,7 @@ import { usePathname } from "next/navigation";
|
||||
|
||||
export function Banner() {
|
||||
const pathname = usePathname();
|
||||
if (pathname?.startsWith("/admin")) return null;
|
||||
if (pathname?.startsWith("/admin") || pathname === "/") return null;
|
||||
|
||||
return (
|
||||
<div className="w-full">
|
||||
|
||||
Reference in New Issue
Block a user