feat: added delete link functionality
This commit is contained in:
@@ -16,7 +16,7 @@ function useOutsideAlerter(
|
||||
ref.current &&
|
||||
!ref.current.contains(event.target as HTMLInputElement)
|
||||
) {
|
||||
onClickOutside();
|
||||
onClickOutside(event);
|
||||
}
|
||||
}
|
||||
document.addEventListener("mouseup", handleClickOutside);
|
||||
|
||||
Reference in New Issue
Block a user