// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the5// "License"); you may not use this file except in compliance6// with the License. You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing,11// software distributed under the License is distributed on an12// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY13// KIND, either express or implied. See the License for the14// specific language governing permissions and limitations15// under the License.1617import { StyledEngineProvider } from '@mui/material/styles'18import React from 'react'19import ReactDOM from 'react-dom/client'20import { HashRouter as Router } from 'react-router-dom'21import App from './App'22import * as serviceWorker from './serviceWorker'23import { CustomThemeProvider } from './contexts/ThemeContext'24import './index.css'2526const root = ReactDOM.createRoot(27document.getElementById('root') as HTMLElement28)2930root.render(31<React.StrictMode>32<StyledEngineProvider injectFirst>33<CustomThemeProvider>34<Router>35<App/>36</Router>37</CustomThemeProvider>38</StyledEngineProvider>39</React.StrictMode>40)4142// If you want your app to work offline and load faster, you can change43// unregister() to register() below. Note this comes with some pitfalls.44// Learn more about service workers: https://bit.ly/CRA-PWA45serviceWorker.unregister()464748