Skip to content

Commit

Permalink
fix: testing other router options on gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bakon committed Aug 16, 2019
1 parent 36ce284 commit 7abf63b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ import LoginPage from "./containers/LoginPage";
import RegisterPage from "./containers/RegisterPage";
import MainPage from "./containers/MainPage";
import NodesPage from "./containers/NodesPage";
import { BrowserRouter as Router, Switch, Route } from "react-router-dom";
import { BrowserRouter, Switch, Route } from "react-router-dom";

const routing = (
<ReusableProvider>
<Router basename={"/"}>
<BrowserRouter basename={"/"}>
<Switch>
<Route path="/" exact component={MainPage} />
<Route path="/login" component={LoginPage} />
<Route path="/register" component={RegisterPage} />
<Route path="/nodes" component={NodesPage} />
</Switch>
</Router>
</BrowserRouter>
</ReusableProvider>
);

Expand Down

0 comments on commit 7abf63b

Please sign in to comment.