diff options
author | Kristóf Marussy <kristof@marussy.com> | 2023-08-30 22:14:50 +0200 |
---|---|---|
committer | Kristóf Marussy <kristof@marussy.com> | 2023-08-31 00:57:52 +0200 |
commit | d4504285d15aeb0cb1560a5f522ac1edc02b7d4c (patch) | |
tree | f279dd795fc715c31ebb3b46a45e8ab12ac6d8e2 /subprojects/frontend/src/index.tsx | |
parent | feat(frontend): window pane switcher (diff) | |
download | refinery-d4504285d15aeb0cb1560a5f522ac1edc02b7d4c.tar.gz refinery-d4504285d15aeb0cb1560a5f522ac1edc02b7d4c.tar.zst refinery-d4504285d15aeb0cb1560a5f522ac1edc02b7d4c.zip |
feat(frontend): implement grid view
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r-- | subprojects/frontend/src/index.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx index 8cbb8fbc..e14486d6 100644 --- a/subprojects/frontend/src/index.tsx +++ b/subprojects/frontend/src/index.tsx | |||
@@ -4,12 +4,17 @@ | |||
4 | * SPDX-License-Identifier: EPL-2.0 | 4 | * SPDX-License-Identifier: EPL-2.0 |
5 | */ | 5 | */ |
6 | 6 | ||
7 | import { styled } from '@mui/material/styles'; | ||
7 | import { configure } from 'mobx'; | 8 | import { configure } from 'mobx'; |
8 | import { type Root, createRoot } from 'react-dom/client'; | 9 | import { type Root, createRoot } from 'react-dom/client'; |
9 | 10 | ||
10 | import App from './App'; | 11 | import App from './App'; |
11 | import RootStore from './RootStore'; | 12 | import RootStore from './RootStore'; |
12 | 13 | ||
14 | // Make sure `styled` ends up in the entry chunk. | ||
15 | // https://github.com/mui/material-ui/issues/32727#issuecomment-1659945548 | ||
16 | (window as unknown as { fixViteIssue: unknown }).fixViteIssue = styled; | ||
17 | |||
13 | const initialValue = `// Metamodel | 18 | const initialValue = `// Metamodel |
14 | class Person { | 19 | class Person { |
15 | contains Post[] posts opposite author | 20 | contains Post[] posts opposite author |