diff options
Diffstat (limited to 'subprojects/language-web/src/main/js/theme/ThemeProvider.tsx')
-rw-r--r-- | subprojects/language-web/src/main/js/theme/ThemeProvider.tsx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/subprojects/language-web/src/main/js/theme/ThemeProvider.tsx b/subprojects/language-web/src/main/js/theme/ThemeProvider.tsx deleted file mode 100644 index f5b50be1..00000000 --- a/subprojects/language-web/src/main/js/theme/ThemeProvider.tsx +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | import { observer } from 'mobx-react-lite'; | ||
2 | import { ThemeProvider as MaterialUiThemeProvider } from '@mui/material/styles'; | ||
3 | import React from 'react'; | ||
4 | |||
5 | import { useRootStore } from '../RootStore'; | ||
6 | |||
7 | export const ThemeProvider: React.FC = observer(({ children }) => { | ||
8 | const { themeStore } = useRootStore(); | ||
9 | |||
10 | return ( | ||
11 | <MaterialUiThemeProvider theme={themeStore.materialUiTheme}> | ||
12 | {children} | ||
13 | </MaterialUiThemeProvider> | ||
14 | ); | ||
15 | }); | ||