🐛 Fix bug with i18n and login screen

This commit is contained in:
ajnart
2022-09-02 19:19:33 +02:00
parent cb42592544
commit 18f0e128b9
3 changed files with 11 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ export default function Custom404() {
export async function getStaticProps({ locale }: { locale: string }) {
return {
props: {
...(await serverSideTranslations(locale, ['404'])),
...(await serverSideTranslations(locale, ['common'])),
// Will be passed to the page component as props
},
};