final polishing

This commit is contained in:
daniel31x13
2024-02-13 05:54:18 -05:00
parent a3c487d074
commit 155c77cbc4
8 changed files with 239 additions and 231 deletions
@@ -23,15 +23,16 @@ export default function BulkDeleteLinksModal({ onClose }: Props) {
toast.dismiss(load);
response.ok &&
if (response.ok) {
toast.success(
`Deleted ${selectedLinks.length} Link${
selectedLinks.length > 1 ? "s" : ""
}`
);
setSelectedLinks([]);
onClose();
setSelectedLinks([]);
onClose();
} else toast.error(response.data as string);
};
return (