Skip to content

Commit

Permalink
fix: add redirect now button
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 20, 2024
1 parent 0f9c684 commit 5def143
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion frontend/app/auth/google/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { useRouter, useSearchParams } from "next/navigation";
import { CheckCircleIcon } from "lucide-react";

import { authGoogleAuthGoogleGet } from "@/client";
import Link from "@/components/navigation/link";
import { Box } from "@/components/ui/box";
import {
Card,
Expand Down Expand Up @@ -56,8 +57,13 @@ export default function GoogleOAuth() {
<span className="max-w-sm">
{isLoading
? "Hang tight! We're logging you in. This shouldn't take too long."
: "All done! You should be redirected soon."}
: "All done! You should be redirected :qsoon."}
</span>
{!isLoading && (
<Link className="p-2" href={"/"} size={"sm"}>
Redirect now
</Link>
)}
</CardDescription>
</CardContent>
</Card>
Expand Down

0 comments on commit 5def143

Please sign in to comment.