aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/index.tsx')
-rw-r--r--subprojects/frontend/src/index.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/subprojects/frontend/src/index.tsx b/subprojects/frontend/src/index.tsx
index 3f06b332..8436c7ae 100644
--- a/subprojects/frontend/src/index.tsx
+++ b/subprojects/frontend/src/index.tsx
@@ -1,5 +1,6 @@
1import Box from '@mui/material/Box'; 1import Box from '@mui/material/Box';
2import CssBaseline from '@mui/material/CssBaseline'; 2import CssBaseline from '@mui/material/CssBaseline';
3import { configure } from 'mobx';
3import { SnackbarProvider } from 'notistack'; 4import { SnackbarProvider } from 'notistack';
4import React, { Suspense, lazy } from 'react'; 5import React, { Suspense, lazy } from 'react';
5import { createRoot } from 'react-dom/client'; 6import { createRoot } from 'react-dom/client';
@@ -60,6 +61,11 @@ age(bob, bobAge).
60scope Family = 1, Person += 5..10. 61scope Family = 1, Person += 5..10.
61`; 62`;
62 63
64configure({
65 enforceActions: 'always',
66 reactionRequiresObservable: true,
67});
68
63const rootStore = new RootStore(initialValue); 69const rootStore = new RootStore(initialValue);
64 70
65const App = lazy(() => import('./App.js')); 71const App = lazy(() => import('./App.js'));