mirror of
https://github.com/hsokolowski/iTree.git
synced 2026-04-19 12:56:54 -04:00
25 lines
641 B
JavaScript
25 lines
641 B
JavaScript
import React from 'react';
|
|
//import { BrowserRouter as Router, Switch, Route, Link } from "react-router-dom";
|
|
import './css/App.scss';
|
|
import Main from './components/Main';
|
|
import { ChakraProvider, CSSReset, extendTheme } from '@chakra-ui/react';
|
|
import theme from './theme';
|
|
import { LoadingProvider } from './contexts/LoadingContext';
|
|
|
|
const themes = extendTheme({ ...theme });
|
|
|
|
function App() {
|
|
return (
|
|
<ChakraProvider theme={themes}>
|
|
<CSSReset />
|
|
<LoadingProvider>
|
|
<div id="app" className="App">
|
|
<Main></Main>
|
|
</div>
|
|
</LoadingProvider>
|
|
</ChakraProvider>
|
|
);
|
|
}
|
|
|
|
export default App;
|