bug fixed

This commit is contained in:
daniel31x13
2023-11-06 10:01:39 -05:00
parent c8edc3844b
commit 7bdef522c1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ export default function LinkCard({ link, count, className }: Props) {
if (response.ok) {
toast.success(`Link is being archived...`);
getLink(link.id as number);
} else toast.error(data);
} else toast.error(data.response);
};
const deleteLink = async () => {