Skip to content

Commit 61ca01a

Browse files
committed
Revert "Hipster-imports"
1 parent 9bda307 commit 61ca01a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/index.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import React = require('react');
2-
import Router, {Route, DefaultRoute} = require('react-router');
1+
const React = require('react');
32
import {mount} from './app/lib/tools';
43

54
// For mounting App component into <section id="app"></section> use:
@@ -13,6 +12,10 @@ import App from './app/components/App';
1312
import Home from './app/components/Home';
1413
import About from './app/components/About';
1514

15+
const Router = require('react-router');
16+
const Route = Router.Route;
17+
const DefaultRoute = Router.DefaultRoute;
18+
1619
const routes = (
1720
<Route name="app" path="/" handler={App}>
1821
<Route name="home" handler={Home}/>

0 commit comments

Comments
 (0)