Skip to content

Commit

Permalink
Added static rendering to wrapper signin page
Browse files Browse the repository at this point in the history
  • Loading branch information
MocicaRazvan committed Jan 16, 2024
1 parent c0c2fbe commit 52bc0fb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/app/[locale]/auth/signin/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { useTranslations } from "next-intl";
import SignInButton from "./SignInButton";
import { unstable_setRequestLocale } from "next-intl/server";

export default function SignInPage() {
interface PageProps {
params: { locale: string };
}

export default function SignInPage({ params: { locale } }: PageProps) {
unstable_setRequestLocale(locale);
const t = useTranslations("Auth.SignIn");

return (
Expand Down

0 comments on commit 52bc0fb

Please sign in to comment.