diff options
Diffstat (limited to 'web/src/js/app.js')
-rw-r--r-- | web/src/js/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/src/js/app.js b/web/src/js/app.js index a7f3570e..63d782d4 100644 --- a/web/src/js/app.js +++ b/web/src/js/app.js @@ -2,14 +2,13 @@ var React = require("react"); var ReactRouter = require("react-router"); var $ = require("jquery"); - var Connection = require("./connection"); var proxyapp = require("./components/proxyapp.js"); $(function () { window.ws = new Connection("/updates"); - ReactRouter.run(proxyapp.routes, function (Handler) { + ReactRouter.run(proxyapp.routes, function (Handler, state) { React.render(<Handler/>, document.body); }); }); |