This commit is contained in:
daniel31x13
2024-08-14 16:44:07 -04:00
parent 9cc3a7206e
commit 8031432995
19 changed files with 39 additions and 25 deletions
@@ -50,8 +50,8 @@ export default function DeleteCollectionModal({
toast.error(error.message);
} else {
onClose();
router.push("/collections");
toast.success(t("deleted"));
router.push("/collections");
}
},
});
+1 -1
View File
@@ -37,8 +37,8 @@ export default function DeleteLinkModal({ onClose, activeLink }: Props) {
if (router.pathname.startsWith("/links/[id]")) {
router.push("/dashboard");
}
onClose();
toast.success(t("deleted"));
onClose();
}
},
});