🐛 fix: Fix ssr

This commit is contained in:
canisminor1990
2023-07-17 10:38:14 +08:00
parent 59dcbe9c48
commit 4da2829966

View File

@@ -1,7 +1 @@
import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
export { default } from './[id]/index.page';
export const getStaticPaths = async (context: any) => ({
props: await serverSideTranslations(context.locale),
});