mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-12 16:35:49 +01:00
⏪ Address PR comments
This commit is contained in:
@@ -36,7 +36,15 @@ import '../styles/global.scss';
|
|||||||
import nextI18nextConfig from '../../next-i18next.config';
|
import nextI18nextConfig from '../../next-i18next.config';
|
||||||
import { api } from '~/utils/api';
|
import { api } from '~/utils/api';
|
||||||
|
|
||||||
function App(props: AppProps & { colorScheme: ColorScheme }) {
|
function App(
|
||||||
|
this: any,
|
||||||
|
props: AppProps<{
|
||||||
|
colorScheme: ColorScheme;
|
||||||
|
packageAttributes: ServerSidePackageAttributesType;
|
||||||
|
editModeEnabled: boolean;
|
||||||
|
defaultColorScheme: ColorScheme;
|
||||||
|
}>
|
||||||
|
) {
|
||||||
const { Component, pageProps } = props;
|
const { Component, pageProps } = props;
|
||||||
|
|
||||||
const [primaryColor, setPrimaryColor] = useState<MantineTheme['primaryColor']>('red');
|
const [primaryColor, setPrimaryColor] = useState<MantineTheme['primaryColor']>('red');
|
||||||
|
|||||||
Reference in New Issue
Block a user