const deleteHandler = (e: { stopPropagation: () => void }) => {
    e.stopPropagation();
    setIsOpen(false);
    onDelete && onDelete();
  };