'use client' import type { FC } from 'react' import React, { useRef } from 'react' import { useHover } from 'ahooks' import { RiResetLeftLine } from '@remixicon/react' import Tooltip from '@/app/components/base/tooltip' import { useTranslation } from 'react-i18next' type Props = { onReset: () => void } const EditedBeacon: FC = ({ onReset, }) => { const { t } = useTranslation() const ref = useRef(null) const isHovering = useHover(ref) return (
{isHovering ? (
) : (
)}
) } export default React.memo(EditedBeacon)