Skip to content

Commit

Permalink
Merge branch 'frankreed/foreignManagement4_overhaul_auth_redirects' i…
Browse files Browse the repository at this point in the history
…nto frankreed/foreignManagement5_invite_tab
  • Loading branch information
FrankreedX committed Aug 12, 2024
2 parents ffb514b + b76cba6 commit e1971d6
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions app/content/team/users/[user]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,18 +320,9 @@ function Index() {
]);
navigation.goBack();
} catch (e) {
if (e.code === "storage/object-not-found") {
//success kinda weird rn
await invalidateMultipleKeys(queryClient, [
["userInfo"],
["best_attempts"],
]);
navigation.goBack();
} else {
console.log("Error removing user:", e);
hideRemoveDialog();
showDialog("Error", getErrorString(e));
}
console.log("Error removing user:", e);
hideRemoveDialog();
showDialog("Error", getErrorString(e));
}
},
]}
Expand Down

0 comments on commit e1971d6

Please sign in to comment.