fix: auth page locale

This commit is contained in:
Mahyar Khanbolooki
2025-07-24 16:08:58 +03:30
parent 015f23fc66
commit 8b92487f6e
4 changed files with 4 additions and 4 deletions
@@ -20,7 +20,7 @@ type Props = {
function StepNewPassword({ isReset: reset = false, pending, disabled = false, onChange, onClick, value, repeatValue, passwordVisible, repeatPasswordVisible }: Props) {
const [error, setError] = useState('');
const [error2, setError2] = useState('');
const { t } = useTranslation();
const { t } = useTranslation('auth');
const hasError = (e = error) => {
return e.trim().length > 0