From b2d832672d1d88ab52b18b541f779a9cf7367f26 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Mon, 6 May 2024 12:19:06 -0700 Subject: [PATCH] Wrapped app in theme provider --- Client/src/main.jsx | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/Client/src/main.jsx b/Client/src/main.jsx index 8cb8bd9ec..b39e60580 100644 --- a/Client/src/main.jsx +++ b/Client/src/main.jsx @@ -1,13 +1,16 @@ -import React from 'react' -import ReactDOM from 'react-dom/client' -import App from './App.jsx' -import './index.css' -import { BrowserRouter as Router, HashRouter } from 'react-router-dom' - -ReactDOM.createRoot(document.getElementById('root')).render( +import React from "react"; +import ReactDOM from "react-dom/client"; +import App from "./App.jsx"; +import "./index.css"; +import { BrowserRouter as Router, HashRouter } from "react-router-dom"; +import theme from "./Utils/Theme.js"; +import { ThemeProvider } from "@mui/material"; +ReactDOM.createRoot(document.getElementById("root")).render( - - - - , -) + + + + + + +);