Get login prototyped

This commit is contained in:
Daniel Mason 2021-03-26 15:31:00 +13:00
parent c67be1bd75
commit 7e4be938ee
7 changed files with 252 additions and 31 deletions

View file

@ -4,9 +4,20 @@ import './index.css';
import App from './App';
import { BrowserRouter } from 'react-router-dom'
import { Provider } from 'react-redux'
import { createStore } from 'redux'
const goScorbbleStore = (state = false, logIn) => {
return state = logIn
};
const store = createStore(goScorbbleStore);
ReactDOM.render(
<BrowserRouter>
<App />
</BrowserRouter>,
<Provider store={store}>
<BrowserRouter>
<App />
</BrowserRouter>
</Provider>,
document.getElementById('root')
);