diff --git a/src/index.tsx b/src/index.tsx index 5c3a0fe7..8fe3c144 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -16,9 +16,13 @@ import { LanguageProvider } from "./i18n"; import { ChakraProvider } from "@chakra-ui/react"; import { MoralisProvider } from "react-moralis"; import { Toaster } from 'react-hot-toast'; +import muiTheme from './muiTheme'; import "./polyfill"; import 'react-toastify/dist/ReactToastify.css'; -import muiTheme from './muiTheme'; + +if (process.env.NODE_ENV !== "development") + console.log = () => {}; + const root = ReactDOM.createRoot( document.getElementById("root") as HTMLElement );