aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-08-03 19:06:01 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-08-03 19:06:01 +0530
commit91aa649dbf24f34e6e4e2c91a180dd623a6d3d67 (patch)
tree78ac6b0bcae6464ac36ad81271c92a307e9d479c
parentfae99f6a407de70fdba6029e45c194fb241c3433 (diff)
downloadadmin-panel-91aa649dbf24f34e6e4e2c91a180dd623a6d3d67.tar.gz
admin-panel-91aa649dbf24f34e6e4e2c91a180dd623a6d3d67.tar.bz2
admin-panel-91aa649dbf24f34e6e4e2c91a180dd623a6d3d67.zip
Fixed routing issue with POPUP
-rw-r--r--panel/src/App.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel/src/App.jsx b/panel/src/App.jsx
index 6a09905..6699db4 100644
--- a/panel/src/App.jsx
+++ b/panel/src/App.jsx
@@ -16,7 +16,7 @@ const AppRoutes = () => {
return (
<Routes>
- <Route path="/" element={currentUser ? <Navigate to="/dashboard" /> : <Navigate to="/login" />} />
+ <Route path="/" element={<Navigate to="/login" />} />
<Route path="/login" element={<LoginPage />} />
<Route path="/register" element={<RegisterPage />} />
<Route path="/reset" element={<ResetPage />} />