diff --git a/app/auth/google/callback/page.tsx b/app/auth/google/callback/page.tsx index 5a864ce..4df5c97 100644 --- a/app/auth/google/callback/page.tsx +++ b/app/auth/google/callback/page.tsx @@ -1,10 +1,10 @@ "use client"; -import { useEffect, useState } from "react"; +import { Suspense, useEffect, useState } from "react"; import { useRouter, useSearchParams } from "next/navigation"; import { apiFetch } from "@/lib/api"; -export default function GoogleCallbackPage() { +function GoogleCallbackContent() { const router = useRouter(); const searchParams = useSearchParams(); const [status, setStatus] = useState<"loading" | "success" | "error">("loading"); @@ -83,3 +83,20 @@ export default function GoogleCallbackPage() { ); } + +export default function GoogleCallbackPage() { + return ( + +
+
+

Connecting your Google account...

+
+
+ } + > + +
+ ); +}