mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-24 00:02:16 +00:00
19 lines
496 B
TypeScript
19 lines
496 B
TypeScript
import React from 'react';
|
|
import ReactDOM from 'react-dom/client';
|
|
import App from './App';
|
|
|
|
import { ChakraProvider } from '@chakra-ui/react';
|
|
import { Provider } from 'react-redux';
|
|
import { store } from './store';
|
|
import { theme } from './theme';
|
|
|
|
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<ChakraProvider theme={theme}>
|
|
<Provider store={store}>
|
|
<App />
|
|
</Provider>
|
|
</ChakraProvider>
|
|
</React.StrictMode>
|
|
);
|