import { useRouter } from "next/navigation"; import { useTranslation } from "react-i18next"; export default function ButtomStepOne({ type }) { const router = useRouter(); const { t } = useTranslation(); return ( <> <> router.push("/auth/choose-role")} className="flex-1 py-3 px-4 bg-white/5 border border-gray-700 rounded-xl text-gray-300 hover:bg-white/10 transition-colors" > {t("register.cancel")} {t("register.next")} > > ); }