Introduce i18n

This commit is contained in:
Sakura Knoll
2022-01-03 13:22:37 +09:00 Unverified
parent d6a8a0e7b0
commit 8bc576208a
20 changed files with 198 additions and 58 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import type { AppProps } from 'next/app'
import { appWithTranslation } from 'next-i18next'
import { ThemeProvider } from 'theme-ui'
import { theme } from '../lib/theme'
@@ -10,4 +11,4 @@ function MyApp({ Component, pageProps }: AppProps) {
)
}
export default MyApp
export default appWithTranslation(MyApp)