Skip to content

Commit

Permalink
Do not use the pending state if the request fails outright
Browse files Browse the repository at this point in the history
  • Loading branch information
OrdiNeu committed Dec 19, 2024
1 parent f20be52 commit 2a173ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/pages/authentication/AuthCheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function AuthCheck(props) {
const [authCheckState, setAuthCheckState] = useState({
loading: true,
authorized: false,
pending: true,
pending: false,
reqNum: 0
});

Expand Down

0 comments on commit 2a173ea

Please sign in to comment.