Files
chatbot-ui/pages/_app.tsx
T
Jungley 92eab6c634 feat: Add i18n support for Chinese language (#142)
* feat: Add i18n support for Chinese language

* fix: locale not working in Docker environment
2023-03-25 09:42:48 -06:00

16 lines
412 B
TypeScript

import "@/styles/globals.css";
import { appWithTranslation } from "next-i18next";
import type { AppProps } from "next/app";
import { Inter } from "next/font/google";
const inter = Inter({ subsets: ["latin"] });
function App({ Component, pageProps }: AppProps<{}>) {
return (
<main className={inter.className}>
<Component {...pageProps} />
</main>
);
}
export default appWithTranslation(App);