feat(setup): add initial setup wizard for admin account and SMTP configuration
This commit is contained in:
@@ -11,8 +11,9 @@ interface HeaderWrapperProps {
|
||||
export function HeaderWrapper({ navbar, children }: HeaderWrapperProps) {
|
||||
const pathname = usePathname();
|
||||
const isAdmin = pathname?.startsWith("/admin");
|
||||
const isSetup = pathname === "/setup";
|
||||
|
||||
if (isAdmin) {
|
||||
if (isAdmin || isSetup) {
|
||||
return <>{children}</>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user