revert previous change

This commit is contained in:
Isaac Wise
2024-02-10 16:25:38 -06:00
parent 080be856cc
commit fda782ec44
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ export default function Index() {
const bulkDeleteLinks = async () => {
const load = toast.loading(`Deleting ${selectedLinks.length} Link${selectedLinks.length > 1 ? "s" : ""}...`);
const response = await deleteLinksById(selectedLinks.map((link) => link.id));
const response = await deleteLinksById(selectedLinks.map((link) => link.id as number));
toast.dismiss(load);