From 2fb435bec0ba98c355e51675d1486af1cb7f8176 Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Sun, 3 Oct 2021 01:15:19 +0200
Subject: chore(web): bump MUI 5 to released version

---
 language-web/src/main/js/index.tsx | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

(limited to 'language-web/src/main/js/index.tsx')

diff --git a/language-web/src/main/js/index.tsx b/language-web/src/main/js/index.tsx
index 86cb4a65..80c70f23 100644
--- a/language-web/src/main/js/index.tsx
+++ b/language-web/src/main/js/index.tsx
@@ -1,8 +1,6 @@
-import { CacheProvider } from '@emotion/react';
 import React from 'react';
 import { render } from 'react-dom';
-import CssBaseline from '@material-ui/core/CssBaseline';
-import createCache from 'tss-react/@emotion/cache';
+import CssBaseline from '@mui/material/CssBaseline';
 
 import { App } from './App';
 import { RootStore, RootStoreProvider } from './RootStore';
@@ -49,19 +47,12 @@ scope Family = 1, Person += 5..10.
 const rootStore = new RootStore();
 rootStore.editorStore.updateValue(initialValue);
 
-const muiCache = createCache({
-  key: 'mui',
-  prepend: true,
-});
-
 const app = (
   <RootStoreProvider rootStore={rootStore}>
-    <CacheProvider value={muiCache}>
-      <ThemeProvider>
-        <CssBaseline />
-        <App />
-      </ThemeProvider>
-    </CacheProvider>
+    <ThemeProvider>
+      <CssBaseline />
+      <App />
+    </ThemeProvider>
   </RootStoreProvider>
 );
 
-- 
cgit v1.2.3-54-g00ecf

