Fixed Api Parameter, Banner Button Style and Slider header
This commit is contained in:
@@ -10,7 +10,7 @@ import { tableReload } from "../../store/TableReloads";
|
||||
import { useDispatch } from "react-redux";
|
||||
|
||||
const validationSchema = Yup.object().shape({
|
||||
currency: Yup.string()
|
||||
country: Yup.string()
|
||||
.min(1, "Minimum 3 characters")
|
||||
.max(25, "Maximum 25 characters")
|
||||
.required("Country is required"),
|
||||
@@ -60,7 +60,7 @@ const EditJobPopOut = ({
|
||||
|
||||
let initialValues = {
|
||||
// initial values for formik
|
||||
currency: details.currency,
|
||||
country: details.currency,
|
||||
price: details?.price,
|
||||
title: details?.title,
|
||||
description: details?.description,
|
||||
@@ -152,8 +152,8 @@ const EditJobPopOut = ({
|
||||
inputBg="bg-slate-100"
|
||||
inputClass="input-curve lg border border-light-purple"
|
||||
type="text"
|
||||
name="currency"
|
||||
value={props.values.currency}
|
||||
name="country"
|
||||
value={props.values.country}
|
||||
inputHandler={props.handleChange}
|
||||
blurHandler={props.handleBlur}
|
||||
disable={true}
|
||||
|
||||
Reference in New Issue
Block a user