From bf604031115e4f13d46b8a4bafcd5b4bc4699261 Mon Sep 17 00:00:00 2001 From: hamster1963 <1410514192@qq.com> Date: Mon, 21 Oct 2024 00:46:55 +0800 Subject: [PATCH] fix: edge --- components/sign-in.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/sign-in.tsx b/components/sign-in.tsx index 8d266c5..033ccf0 100644 --- a/components/sign-in.tsx +++ b/components/sign-in.tsx @@ -4,6 +4,8 @@ import { signIn } from "@/auth" import { useLocale } from "next-intl" import { redirect } from "next/navigation" +export const runtime = 'edge'; + export function SignIn() { const locale = useLocale()