aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/index.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-30 22:14:50 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-31 00:57:52 +0200
commitd4504285d15aeb0cb1560a5f522ac1edc02b7d4c (patch)
treef279dd795fc715c31ebb3b46a45e8ab12ac6d8e2 /subprojects/frontend/src/index.tsx
parentfeat(frontend): window pane switcher (diff)
downloadrefinery-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.tsx5
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
7import { styled } from '@mui/material/styles';
7import { configure } from 'mobx'; 8import { configure } from 'mobx';
8import { type Root, createRoot } from 'react-dom/client'; 9import { type Root, createRoot } from 'react-dom/client';
9 10
10import App from './App'; 11import App from './App';
11import RootStore from './RootStore'; 12import 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
13const initialValue = `// Metamodel 18const initialValue = `// Metamodel
14class Person { 19class Person {
15 contains Post[] posts opposite author 20 contains Post[] posts opposite author