diff --git a/app/(app)/privacy/page.tsx b/app/(app)/privacy/page.tsx index a077e00..569de57 100644 --- a/app/(app)/privacy/page.tsx +++ b/app/(app)/privacy/page.tsx @@ -417,9 +417,9 @@ export default function PrivacyPolicy() {
Battl Builder, LLC.
- [Your Address] + {/* [Your Address]
- [City, State, ZIP] + [City, State, ZIP] */}

diff --git a/app/builds/layout.tsx b/app/builds/layout.tsx index 24108d4..527268a 100644 --- a/app/builds/layout.tsx +++ b/app/builds/layout.tsx @@ -2,20 +2,17 @@ import type { ReactNode } from "react"; import { Suspense } from "react"; -import { AuthProvider } from "@/context/AuthContext"; import { BuilderNav } from "@/components/BuilderNav"; import { TopNav } from "@/components/TopNav"; export default function BuilderLayout({ children }: { children: ReactNode }) { return (

- - - }> - - -
{children}
-
+ + }> + + +
{children}
); -} \ No newline at end of file +} diff --git a/app/login/page.tsx b/app/login/page.tsx index 96819eb..c22ffbb 100644 --- a/app/login/page.tsx +++ b/app/login/page.tsx @@ -13,7 +13,7 @@ const API_BASE_URL = function LoginPageContent() { const router = useRouter(); const searchParams = useSearchParams(); - const { login, loading } = useAuth(); + const { login, refreshUser, loading } = useAuth(); const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); @@ -36,6 +36,7 @@ function LoginPageContent() { try { await login({ email, password }); + await refreshUser(); router.push(next); } catch (err: any) { setError(err?.message ?? "Failed to log in");