From 46217d8cd1857bc4aa8afa5481ed3af7853647b2 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Tue, 12 Dec 2017 23:32:05 +0200 Subject: [PATCH] #372: fix redirect to /login page --- src/containers/PrivateRoute.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/containers/PrivateRoute.js b/src/containers/PrivateRoute.js index 690d2da..8448194 100644 --- a/src/containers/PrivateRoute.js +++ b/src/containers/PrivateRoute.js @@ -12,10 +12,7 @@ const PrivateRoute = ({user, component: Component, ...rest}: { }) => ( ( user.isGuest ? ( - + ) : ( )