diff --git a/apps/roboshield/src/pages/_app.tsx b/apps/roboshield/src/pages/_app.tsx
index 05d64876d..596092ca0 100644
--- a/apps/roboshield/src/pages/_app.tsx
+++ b/apps/roboshield/src/pages/_app.tsx
@@ -8,19 +8,19 @@ import Page from "@/roboshield/components/Page";
import { GlobalProvider } from "@/roboshield/context/GlobalContext";
import theme from "@/roboshield/theme";
import createEmotionCache from "@/roboshield/utils/createEmotionCache";
-const clientSideEmotionCache = createEmotionCache();
function getDefaultLayout(page: ReactNode, pageProps: any) {
return {page};
}
export default function App(props: AppProps | any) {
- const { Component, emotionCache = clientSideEmotionCache, pageProps } = props;
+ const { Component, pageProps } = props;
const getLayout = Component.getLayout || getDefaultLayout;
+ const clientSideEmotionCache = createEmotionCache();
return (
<>
-
+
RoboShield