diff --git a/app/content/team/users/[user]/index.js b/app/content/team/users/[user]/index.js index ae3c3c7c..a5c0ba64 100644 --- a/app/content/team/users/[user]/index.js +++ b/app/content/team/users/[user]/index.js @@ -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)); } }, ]}