Skip to content

Commit

Permalink
getting rid of an annoying react-router error, per remix-run/react-ro…
Browse files Browse the repository at this point in the history
  • Loading branch information
danyim committed Aug 12, 2016
1 parent b31e7b4 commit 11ab47d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/root.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ class Root extends React.Component {
render() {
return (
<Provider store={store}>
<Router history={history}>
{ Routes }
<Router history={history} routes={Routes}>
</Router>
</Provider>
);
Expand Down

0 comments on commit 11ab47d

Please sign in to comment.