diff options
author | 2021-10-03 00:30:20 +0200 | |
---|---|---|
committer | 2021-10-03 00:30:54 +0200 | |
commit | c20c3dd605349c1abaf44dda37f2df4a3a9e078e (patch) | |
tree | 4e922f54ace71a187ca095f9e2a8ee2278c48d39 /language-web/src | |
parent | chore: fix Java 17 Sonar warnings (diff) | |
download | refinery-c20c3dd605349c1abaf44dda37f2df4a3a9e078e.tar.gz refinery-c20c3dd605349c1abaf44dda37f2df4a3a9e078e.tar.zst refinery-c20c3dd605349c1abaf44dda37f2df4a3a9e078e.zip |
chore(web): bump frontend dependencies except MUI
Diffstat (limited to 'language-web/src')
-rw-r--r-- | language-web/src/main/js/index.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/language-web/src/main/js/index.tsx b/language-web/src/main/js/index.tsx index 1f08feeb..86cb4a65 100644 --- a/language-web/src/main/js/index.tsx +++ b/language-web/src/main/js/index.tsx | |||
@@ -2,7 +2,7 @@ import { CacheProvider } from '@emotion/react'; | |||
2 | import React from 'react'; | 2 | import React from 'react'; |
3 | import { render } from 'react-dom'; | 3 | import { render } from 'react-dom'; |
4 | import CssBaseline from '@material-ui/core/CssBaseline'; | 4 | import CssBaseline from '@material-ui/core/CssBaseline'; |
5 | import { getCache } from 'tss-react/cache'; | 5 | import createCache from 'tss-react/@emotion/cache'; |
6 | 6 | ||
7 | import { App } from './App'; | 7 | import { App } from './App'; |
8 | import { RootStore, RootStoreProvider } from './RootStore'; | 8 | import { RootStore, RootStoreProvider } from './RootStore'; |
@@ -49,9 +49,14 @@ scope Family = 1, Person += 5..10. | |||
49 | const rootStore = new RootStore(); | 49 | const rootStore = new RootStore(); |
50 | rootStore.editorStore.updateValue(initialValue); | 50 | rootStore.editorStore.updateValue(initialValue); |
51 | 51 | ||
52 | const muiCache = createCache({ | ||
53 | key: 'mui', | ||
54 | prepend: true, | ||
55 | }); | ||
56 | |||
52 | const app = ( | 57 | const app = ( |
53 | <RootStoreProvider rootStore={rootStore}> | 58 | <RootStoreProvider rootStore={rootStore}> |
54 | <CacheProvider value={getCache()}> | 59 | <CacheProvider value={muiCache}> |
55 | <ThemeProvider> | 60 | <ThemeProvider> |
56 | <CssBaseline /> | 61 | <CssBaseline /> |
57 | <App /> | 62 | <App /> |