mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-14 09:48:10 -05:00
cleaned up the routing
This commit is contained in:
@@ -2,11 +2,11 @@ import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { Provider } from 'react-redux'
|
||||
import configureStore from './redux-router/configureStore'
|
||||
import setupStore from './redux-router/configureStore'
|
||||
|
||||
import App from "./app"
|
||||
|
||||
const store = configureStore(/* provide initial state if any */)
|
||||
const store = setupStore(/* provide initial state if any */)
|
||||
|
||||
const container = document.getElementById('root');
|
||||
const root = createRoot(container);
|
||||
|
||||
Reference in New Issue
Block a user