sort foods

This commit is contained in:
hamid zarghami
2025-11-25 12:49:38 +03:30
parent 69dfb50267
commit 3d6a8c4877
7 changed files with 84 additions and 60 deletions
@@ -6,6 +6,7 @@ import { AUTH_PAGE_ELEMENT, AUTH_STEP } from '@/enums'
import { LoginOTPRequestType } from '@/app/auth/login/types/Types'
import Image from 'next/image'
import React, { useState } from 'react'
import type { ChangeEvent } from 'react'
import { useTranslation } from 'react-i18next'
import { useFormik } from 'formik'
import * as Yup from 'yup'
@@ -15,9 +16,14 @@ import { toast } from '@/components/Toast'
import StepOtp from './StepOtp'
import { extractErrorMessage } from '@/lib/func'
type StepEnterNumberProps = {
pending?: boolean
onChange?: (event: ChangeEvent<HTMLInputElement>) => void
value?: string
}
function StepEnterNumber() {
function StepEnterNumber (_props: StepEnterNumberProps = {}) {
void _props
const { t } = useTranslation('auth')
const { name } = useParams()