mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 00:15:48 +01:00
🐛 Fix slug page and refactor server side translations code
This commit is contained in:
10
src/types/dashboardPageType.ts
Normal file
10
src/types/dashboardPageType.ts
Normal 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'];
|
||||
};
|
||||
Reference in New Issue
Block a user