Skip to content

Commit

Permalink
Merge branch 'frankreed/foreignManagement2_blacklist_tab' into frankr…
Browse files Browse the repository at this point in the history
…eed/foreignManagement3_waitlist_tab
  • Loading branch information
FrankreedX committed Aug 12, 2024
2 parents 16df1e7 + 8951322 commit 5fe346d
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 5fe346d

Please sign in to comment.