um-react/src/main.tsx

10 lines
277 B
TypeScript
Raw Normal View History

2023-05-07 19:11:16 +00:00
import ReactDOM from 'react-dom/client';
import { setupStore } from './store';
2023-06-03 13:09:11 +00:00
import { Loader } from './Loader';
2023-05-07 19:11:16 +00:00
// Private to this file only.
const store = setupStore();
2023-06-03 13:09:11 +00:00
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<Loader store={store} />);