Skip to content

Commit

Permalink
Create index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 24, 2024
1 parent 4112064 commit 566f24b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { createStore, Provider } from 'redux';
import { BrowserRouter, Route, Switch } from 'react-router-dom';
import App from './App';
import store from './store/store';
import './index.css';

ReactDOM.render(
<Provider store={store}>
<BrowserRouter>
<Switch>
<Route path="/" component={App} />
</Switch>
</BrowserRouter>
</Provider>,
document.getElementById('root')
);

0 comments on commit 566f24b

Please sign in to comment.