@@ -1,4 +1,4 @@
|
|||||||
VITE_TOKEN_NAME = 'negareh_t'
|
VITE_TOKEN_NAME = 'negareh_t'
|
||||||
VITE_REFRESH_TOKEN_NAME = 'negareh_rt'
|
VITE_REFRESH_TOKEN_NAME = 'negareh_rt'
|
||||||
VITE_API_BASE_URL = 'https://negare-api.danakcorp.com'
|
# VITE_API_BASE_URL = 'https://negare-api.danakcorp.com'
|
||||||
# VITE_API_BASE_URL = 'http://localhost:4000'
|
VITE_API_BASE_URL = 'http://localhost:4000'
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ const Input: FC<Props> = (props: Props) => {
|
|||||||
<input {...props} onChange={(e) => {
|
<input {...props} onChange={(e) => {
|
||||||
setSearch(e.target.value)
|
setSearch(e.target.value)
|
||||||
handleInputChange(e)
|
handleInputChange(e)
|
||||||
}} value={props.seprator ? formattedValue : props.value} type={props.type === 'password' && showPassword ? 'text' : props.type === 'password' ? 'password' : undefined} className={inputClass} />
|
}} value={props.seprator ? formattedValue : props.value} type={props.type === 'password' ? (showPassword ? 'text' : 'password') : props.type} className={inputClass} />
|
||||||
|
|
||||||
{
|
{
|
||||||
props.type === 'password' &&
|
props.type === 'password' &&
|
||||||
|
|||||||
@@ -54,7 +54,9 @@ const LoginStep1: FC = () => {
|
|||||||
label={'شماره موبایل'}
|
label={'شماره موبایل'}
|
||||||
placeholder={'شماره موبایل خود را وارد کنید'}
|
placeholder={'شماره موبایل خود را وارد کنید'}
|
||||||
type='tel'
|
type='tel'
|
||||||
className='text-right'
|
autoComplete='tel'
|
||||||
|
inputMode='tel'
|
||||||
|
className='dltr text-left'
|
||||||
name='phone_email'
|
name='phone_email'
|
||||||
onChange={formik.handleChange}
|
onChange={formik.handleChange}
|
||||||
value={formik.values.phone_email}
|
value={formik.values.phone_email}
|
||||||
|
|||||||
Reference in New Issue
Block a user