mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-27 01:32:15 +00:00
# Which Problems Are Solved Invalid formatting in the login codebase due to invalid prettier configuration # How the Problems Are Solved Fxed .prettierignore wildcards for login source files # Additional Changes Removed .prettierrc file because there is already a prettier.config.mjs file # Additional Context
10 lines
349 B
TypeScript
10 lines
349 B
TypeScript
import { NextIntlClientProvider } from "next-intl";
|
|
import { getMessages } from "next-intl/server";
|
|
import { ReactNode } from "react";
|
|
|
|
export async function LanguageProvider({ children }: { children: ReactNode }) {
|
|
const messages = await getMessages();
|
|
|
|
return <NextIntlClientProvider messages={messages}>{children}</NextIntlClientProvider>;
|
|
}
|