Skip to content

Commit

Permalink
fix: 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lulu-tro committed Sep 2, 2024
1 parent 144a06f commit 8cb62ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ export default function Admin() {
const NODE_URL = localStorage.getItem('NODE_URL');
const token = Cookies.get(NODE_URL)
if(!token){
// history.push('/login');
// return;
history.push('/login');
return;
}
const isMainMode = await getPageMode();
// if (!NODE_URL && !window.location.href.includes('/admin/settings')) {
Expand Down

0 comments on commit 8cb62ac

Please sign in to comment.