2023-02-04 17:17:17 -05:00
|
|
|
import React from 'react';
|
2023-02-04 20:07:08 -05:00
|
|
|
import { createRoot } from 'react-dom/client';
|
2023-02-07 00:05:00 -05:00
|
|
|
import { Provider } from 'react-redux';
|
2023-02-07 10:26:19 -05:00
|
|
|
import { store } from './src/store';
|
2023-02-08 09:15:47 -05:00
|
|
|
import { ThemeProvider } from './src/hooks/ThemeContext';
|
2023-02-12 16:48:15 -05:00
|
|
|
import App from './src/App';
|
2023-02-04 18:17:47 -05:00
|
|
|
import './src/style.css';
|
2023-03-12 00:32:03 +08:00
|
|
|
import './src/mobile.css'
|
2023-02-04 17:17:17 -05:00
|
|
|
|
2023-02-04 20:07:08 -05:00
|
|
|
const container = document.getElementById('root');
|
2023-02-12 16:48:15 -05:00
|
|
|
const root = createRoot(container);
|
|
|
|
|
|
2023-02-07 00:05:00 -05:00
|
|
|
root.render(
|
|
|
|
|
<Provider store={store}>
|
2023-02-08 09:15:47 -05:00
|
|
|
<ThemeProvider>
|
|
|
|
|
<App />
|
|
|
|
|
</ThemeProvider>
|
2023-02-07 00:05:00 -05:00
|
|
|
</Provider>
|
2023-02-12 16:48:15 -05:00
|
|
|
);
|