revert previous change
This commit is contained in:
@@ -13,7 +13,7 @@ export default function BulkDeleteLinksModal({ onClose }: Props) {
|
||||
const deleteLink = 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user