"use client"; import { MainColor } from "@/app_modules/component_global/color/color_pallet"; // import './globals.css' import { CacheProvider } from "@emotion/react"; import { Box, Container, MantineProvider, rem, useEmotionCache, } from "@mantine/core"; import { Notifications } from "@mantine/notifications"; import { useServerInsertedHTML } from "next/navigation"; import "react-toastify/dist/ReactToastify.css"; export default function RootStyleRegistry({ children, }: { children: React.ReactNode; }) { const cache = useEmotionCache(); cache.compat = true; useServerInsertedHTML(() => ( )); return (