WordClockESP/interface/src/index.js
Rick Watson 7f6fc0facc Minor interface tidyups:
Factor out app name
Tidy index.js
2019-05-14 22:20:08 +01:00

14 lines
260 B
JavaScript

import React from 'react';
import { render } from 'react-dom';
import history from './history';
import { Router } from 'react-router';
import App from './App';
render((
<Router history={history}>
<App/>
</Router>
), document.getElementById("root"))