refactored/cleaned up API + added support for renaming tags
This commit is contained in:
@@ -87,7 +87,7 @@ export default function LinkCard({ link, count, className }: Props) {
|
||||
const deleteLink = async () => {
|
||||
const load = toast.loading("Deleting...");
|
||||
|
||||
const response = await removeLink(link);
|
||||
const response = await removeLink(link.id as number);
|
||||
|
||||
toast.dismiss(load);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user