From d4504285d15aeb0cb1560a5f522ac1edc02b7d4c Mon Sep 17 00:00:00 2001
From: Kristóf Marussy <kristof@marussy.com>
Date: Wed, 30 Aug 2023 22:14:50 +0200
Subject: feat(frontend): implement grid view

---
 subprojects/frontend/src/index.tsx | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'subprojects/frontend/src/index.tsx')

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 @@
  * SPDX-License-Identifier: EPL-2.0
  */
 
+import { styled } from '@mui/material/styles';
 import { configure } from 'mobx';
 import { type Root, createRoot } from 'react-dom/client';
 
 import App from './App';
 import RootStore from './RootStore';
 
+// Make sure `styled` ends up in the entry chunk.
+// https://github.com/mui/material-ui/issues/32727#issuecomment-1659945548
+(window as unknown as { fixViteIssue: unknown }).fixViteIssue = styled;
+
 const initialValue = `// Metamodel
 class Person {
     contains Post[] posts opposite author
-- 
cgit v1.2.3-54-g00ecf

