client/src/components/Navbar.js
changeset 104 d48a74232d22
parent 81 a6bd1aaddc34
child 105 0a1d6560acac
--- a/client/src/components/Navbar.js	Wed Jun 28 14:43:35 2017 +0200
+++ b/client/src/components/Navbar.js	Wed Jun 28 14:44:02 2017 +0200
@@ -16,6 +16,7 @@
   const onClickLogout = (e) => {
     e.preventDefault();
     authActions.logout();
+    history.push('/');
   }
 
   const onClickLogin = (e) => {