feat(auth) : improve Google account handling
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { connection } from "next/server";
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { AccountLinkErrorRedirect } from "@/components/auth/account-link-error-redirect";
|
||||
import { LiveRefresh } from "@/components/live-refresh";
|
||||
import { GoogleAdsense } from "@/components/public/google-adsense";
|
||||
import { DirectorySkeleton } from "@/components/public/directory-skeleton";
|
||||
@@ -20,6 +21,9 @@ export default function HomePage() {
|
||||
<div className="flex min-h-svh flex-col bg-background">
|
||||
<GoogleAdsense />
|
||||
<LiveRefresh endpoint="/api/events/directory" />
|
||||
<Suspense fallback={null}>
|
||||
<AccountLinkErrorRedirect />
|
||||
</Suspense>
|
||||
<SiteHeader />
|
||||
<main className="mx-auto flex w-full max-w-7xl flex-col gap-8 px-4 pt-4 pb-10 sm:px-6 sm:pt-6 sm:pb-14">
|
||||
<header className="max-w-3xl">
|
||||
|
||||
Reference in New Issue
Block a user