From 09961d89cbb8aa9023bdb9fdad66d51cd13764be Mon Sep 17 00:00:00 2001
From: Francesco Esposito <33671357+frsposito@users.noreply.github.com>
Date: Wed, 31 Jul 2019 16:01:46 +0200
Subject: [PATCH] improvement: add route - logout
---
src/Routes.js | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/src/Routes.js b/src/Routes.js
index 16bbb24..ae3ba7f 100644
--- a/src/Routes.js
+++ b/src/Routes.js
@@ -1,28 +1,25 @@
import React, { Component } from "react";
-import { Container } from "reactstrap";
-
import {
BrowserRouter as Router,
Route,
Switch,
Redirect
} from "react-router-dom";
+import { Container } from "reactstrap";
+
import { PrivateRoute } from "./PrivateRoute";
-
-import { validateUser } from "./utils/auth";
-
import Home from "./containers/HomePage/Home";
import CreateTicket from "./containers/CreateTicket/CreateTicket";
import ViewRequest from "./containers/ViewTicket/ViewTicket";
import PageNotFound from "./containers/PageNotFound";
import Login from "./containers/Administration/Login";
+import Logout from "./containers/Logout";
import TicketList from "./containers/Administration/TicketList";
import TicketManager from "./containers/Administration/TicketManager";
class Routes extends Component {
constructor(props) {
super(props);
-
this.state = {};
}
@@ -42,10 +39,8 @@ class Routes extends Component {
-
+
+