llama-gpt/pages/_app.tsx

19 lines
472 B
TypeScript

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