forked from 77media/video-flow
更新前端
This commit is contained in:
parent
51baecdf8d
commit
8f1a3b0ac0
@ -9,7 +9,7 @@ const inter = Inter({ subsets: ['latin'] });
|
||||
|
||||
// Import the OAuthCallbackHandler dynamically to ensure it only runs on the client
|
||||
const OAuthCallbackHandler = dynamic(
|
||||
() => import('@/components/ui/oauth-callback-handler').then(mod => mod.OAuthCallbackHandler),
|
||||
() => import('@/components/ui/oauth-callback-handler'),
|
||||
{ ssr: false }
|
||||
);
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ import { useRouter, useSearchParams } from 'next/navigation';
|
||||
import { validateOAuthState } from '@/lib/auth';
|
||||
import { toast } from '@/hooks/use-toast';
|
||||
|
||||
export function OAuthCallbackHandler() {
|
||||
export default function OAuthCallbackHandler() {
|
||||
const searchParams = useSearchParams();
|
||||
const router = useRouter();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user