From c20c3dd605349c1abaf44dda37f2df4a3a9e078e Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Sun, 3 Oct 2021 00:30:20 +0200
Subject: chore(web): bump frontend dependencies except MUI

---
 language-web/src/main/js/index.tsx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 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 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';
 import React from 'react';
 import { render } from 'react-dom';
 import CssBaseline from '@material-ui/core/CssBaseline';
-import { getCache } from 'tss-react/cache';
+import createCache from 'tss-react/@emotion/cache';
 
 import { App } from './App';
 import { RootStore, RootStoreProvider } from './RootStore';
@@ -49,9 +49,14 @@ 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={getCache()}>
+    <CacheProvider value={muiCache}>
       <ThemeProvider>
         <CssBaseline />
         <App />
-- 
cgit v1.2.3-54-g00ecf

