Upgrade to Babel 6.x

This commit is contained in:
2017-01-09 15:53:02 -07:00
parent 86f23ed1a4
commit 1dbc088d17
6 changed files with 35 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
import React from 'react'
import { Router, Route, browserHistory } from 'react-router'
import React from 'react';
import { Router, Route, browserHistory } from 'react-router';
import Site from './ui/Site';
React.render((
<Router history={browserHistory}>
<Route path="/*" component={Site} />
</Router>
), document.getElementById('root'))
), document.getElementById('root'));

View File

@@ -77,7 +77,7 @@ export default class Home extends React.Component {
} catch (e) { // If we are on a browser without serviceWorker
this.setState({registration: false});
}
}.bind(this));
});
}
}