Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zewed committed Jan 27, 2024
1 parent 7a66af5 commit 3a1b2b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ export const useBrainManagementTabs = () => {
setCurrentBrainId(null);
setIsDeleteOrUnsubscribeModalOpened(false);
void fetchAllBrains();
router.push("/brains-management");
} catch (error) {
console.error("Error deleting brain: ", error);
} finally {
router.push("/brains-management");
setIsDeleteOrUnsubscribeRequestPending(false);
}
};
Expand Down

0 comments on commit 3a1b2b1

Please sign in to comment.