Skip to content

Commit

Permalink
fix(hub): blank screen when CLAIMS_ENTITLEMENT_EXPIRED
Browse files Browse the repository at this point in the history
  • Loading branch information
jog1t committed Dec 29, 2024
1 parent 2a61bf3 commit 5288a7a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/apps/hub/src/queries/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const queryCache = new QueryCache({
if (isRivetError(error)) {
if (
error.body.code === "TOKEN_REVOKED" ||
error.body.code === "TOKEN_INVALID"
error.body.code === "TOKEN_INVALID" ||
error.body.code === "CLAIMS_ENTITLEMENT_EXPIRED"
) {
logout();
}
Expand Down

0 comments on commit 5288a7a

Please sign in to comment.