Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import RegisterApp from './components/RegisterApp';
import { Router, Route, browserHistory } from 'react-router';
import registerServiceWorker from './registerServiceWorker';
import './index.css';
const Root = () => {
return (
<div className="container">
<Router history={browserHistory}>
<Route path="/" component={RegisterApp}/>
</Router>
</div>
)
}
ReactDOM.render(<Root />, document.getElementById('root'));
registerServiceWorker();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.