🐛 Fix slug page and refactor server side translations code

This commit is contained in:
Manuel Ruwe committed 2022-12-30 16:51:53 +01:00
1 parent 0565d444d2
commit fe662ab166
4 files changed
+59 -47

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import { SSRConfig } from 'next-i18next';
import { ConfigType } from './config';
export type DashboardServerSideProps = {
config: ConfigType;
// eslint-disable-next-line react/no-unused-prop-types
configName: string;
// eslint-disable-next-line react/no-unused-prop-types
_nextI18Next: SSRConfig['_nextI18Next'];
};