diff options
Diffstat (limited to 'subprojects/frontend/src/theme/ThemeProvider.tsx')
-rw-r--r-- | subprojects/frontend/src/theme/ThemeProvider.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subprojects/frontend/src/theme/ThemeProvider.tsx b/subprojects/frontend/src/theme/ThemeProvider.tsx index f5b50be1..c6194c69 100644 --- a/subprojects/frontend/src/theme/ThemeProvider.tsx +++ b/subprojects/frontend/src/theme/ThemeProvider.tsx | |||
@@ -1,10 +1,10 @@ | |||
1 | import { observer } from 'mobx-react-lite'; | 1 | import { observer } from 'mobx-react-lite'; |
2 | import { ThemeProvider as MaterialUiThemeProvider } from '@mui/material/styles'; | 2 | import { ThemeProvider as MaterialUiThemeProvider } from '@mui/material/styles'; |
3 | import React from 'react'; | 3 | import React, { type ReactNode } from 'react'; |
4 | 4 | ||
5 | import { useRootStore } from '../RootStore'; | 5 | import { useRootStore } from '../RootStore'; |
6 | 6 | ||
7 | export const ThemeProvider: React.FC = observer(({ children }) => { | 7 | export const ThemeProvider: React.FC<{ children: ReactNode }> = observer(({ children }) => { |
8 | const { themeStore } = useRootStore(); | 8 | const { themeStore } = useRootStore(); |
9 | 9 | ||
10 | return ( | 10 | return ( |