Skip to content

Commit

Permalink
Loading false after 403
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Jan 28, 2025
1 parent b29bcb4 commit c23c8d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion servicedesk-gui/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ const App = () => {
navigate("/login")
}

}).catch(e => navigate("/login"));
}).catch(e => {
setLoading(false);
navigate("/login");
});
});

}, []);
Expand Down

0 comments on commit c23c8d2

Please sign in to comment.