From 393db05a709a2b7c091e2e1bf7a293fd0be0a4c3 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 19 Oct 2025 18:07:48 +0000 Subject: [PATCH] Prettier format pending files --- client/pages/Login.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index f828c3b3..7e493cd0 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -343,10 +343,15 @@ export default function Login() { variant="outline" className="w-full hover-lift interactive-scale" onClick={() => { - const apiBase = (import.meta as any)?.env?.VITE_API_BASE || window.location.origin; + const apiBase = + (import.meta as any)?.env?.VITE_API_BASE || + window.location.origin; const u = new URL("/api/roblox/oauth/start", apiBase); - const next = new URLSearchParams(window.location.search).get("next"); - if (next && next.startsWith("/")) u.searchParams.set("state", next); + const next = new URLSearchParams( + window.location.search, + ).get("next"); + if (next && next.startsWith("/")) + u.searchParams.set("state", next); window.location.href = u.toString(); }} >