feat: added delete link functionality

This commit is contained in:
Daniel
2023-03-23 18:55:17 +03:30
parent bcb467ea02
commit 2e3ec53d2a
8 changed files with 110 additions and 24 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ function useOutsideAlerter(
ref.current &&
!ref.current.contains(event.target as HTMLInputElement)
) {
onClickOutside();
onClickOutside(event);
}
}
document.addEventListener("mouseup", handleClickOutside);