fix: auth page locale
This commit is contained in:
@@ -18,7 +18,7 @@ type Props = {
|
||||
|
||||
function StepEnterOtp({ onChange, onClick, pending, disabled = false, value, phoneNumber, timerRunning, secondsLeft }: Props) {
|
||||
const [error, setError] = useState('');
|
||||
const { t } = useTranslation();
|
||||
const { t } = useTranslation('auth');
|
||||
|
||||
const hasError = (e = error) => {
|
||||
return e.trim().length > 0
|
||||
|
||||
Reference in New Issue
Block a user