summaryrefslogtreecommitdiff
path: root/src/routes
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-16 22:55:16 +0300
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:42 +0200
commit07195f3762b6a8a7dfb44c2231db58c5be13c43f (patch)
tree2b4640457f70b55a97aff22fbe617e4b8538464a /src/routes
parent91c8088e1d7def9242f60c708cd34f25dcb77d76 (diff)
Rename project to sim and enable sim-adding
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/index.js b/src/routes/index.js
index 6b3a454d..6257017e 100644
--- a/src/routes/index.js
+++ b/src/routes/index.js
@@ -3,15 +3,15 @@ import {BrowserRouter, Redirect, Route, Switch} from "react-router-dom";
import {userIsLoggedIn} from "../auth/index";
import Home from "../pages/Home";
import NotFound from "../pages/NotFound";
-import Projects from "../pages/Projects";
+import Simulations from "../pages/Simulations";
const Routes = () => (
<BrowserRouter>
<Switch>
<Route exact path="/" component={Home}/>
- <Route exact path="/projects" render={() => (
+ <Route exact path="/simulations" render={() => (
userIsLoggedIn() ? (
- <Projects/>
+ <Simulations/>
) : (
<Redirect to="/"/>
)