import NoSsrHandler from "@/core/components/NoSsrHandler"; import {createEmotionCacheRtl} from "@/core/utils/createEmotionCache"; import themeRtl from "@/core/utils/theme-rtl"; import {CacheProvider} from "@emotion/react"; import {GlobalStyles} from "@mui/material"; import CssBaseline from "@mui/material/CssBaseline"; import {ThemeProvider} from "@mui/material/styles"; import Head from "next/head"; const clientSideEmotionCacheRtl = createEmotionCacheRtl(); const MuiLayout = ({children, isBot}) => { const emotionCache = clientSideEmotionCacheRtl; const theme = themeRtl; return ( {children} ); }; export default MuiLayout;