From 632845e1cf08d31a6776c68730964deb31cb52a0 Mon Sep 17 00:00:00 2001 From: Achyuth Mohan Date: Fri, 9 Dec 2022 22:43:07 +0530 Subject: [PATCH] mob nav corrected --- src/components/Navbar/Navbar.js | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/components/Navbar/Navbar.js b/src/components/Navbar/Navbar.js index edd8501..c6b1d60 100644 --- a/src/components/Navbar/Navbar.js +++ b/src/components/Navbar/Navbar.js @@ -116,7 +116,7 @@ function Navbar() { > Reviews - Logout - + */} + { + (localStorage.getItem('refresh_token'))?(({Logout();} } + + > + Logout + )):(( + Login + )) + }