const RelocateButton = () => {
  const handleRelocation = () => {
    const event = new CustomEvent("placement");
    window.dispatchEvent(event);
  };

  return (
    <div className="text-white fixed top-[20px] left-[20px] md:top-[40px] md:left-[40px] z-50 flex flex-row justify-center">
      <button
        className="w-[46px] md:w-[65px] rounded-full"
        onClick={handleRelocation}
      >
        Reubicar
      </button>
    </div>
  );
};

export default RelocateButton;
