diff --git a/src/components/MyWallet/Popup/AddFundDollars.jsx b/src/components/MyWallet/Popup/AddFundDollars.jsx index b89d70e..0db090f 100644 --- a/src/components/MyWallet/Popup/AddFundDollars.jsx +++ b/src/components/MyWallet/Popup/AddFundDollars.jsx @@ -32,7 +32,7 @@ const validationSchema = Yup.object().shape({ .max(25, "25 chars max.") .required("required"), state: Yup.string() - .min(3, "3 chars min.") + .min(2, "2 chars min.") .max(25, "25 chars max.") .required("required"), address: Yup.string() @@ -47,7 +47,7 @@ const validationSchema = Yup.object().shape({ .min(1, "1 chars min.") .max(2, "2 chars max.") .required("required"), - cvv: Yup.string() + cvv: Yup.number() .min(3, "3 chars min.") .max(4, "4 chars max.") .required("required"), @@ -451,11 +451,11 @@ function AddFundDollars(props) { spanTag="*" iconName={cardIcons} label="CVV" - type="number" + type="password" name="cvv" placeholder="CVV" maxLength={3} - value={props.values.cvv} + value={props.values.cvv.replace(/./g, "*")} inputHandler={props.handleChange} blurHandler={props.handleBlur} error={props.errors.cvv} @@ -502,7 +502,7 @@ function AddFundDollars(props) { type="text" name="state" placeholder="State" - value={props.values.state} + value={props.values.state.toLocaleUpperCase} inputHandler={props.handleChange} blurHandler={props.handleBlur} error={props.errors.state} diff --git a/src/components/Partials/Header.jsx b/src/components/Partials/Header.jsx index 87db5f7..4df028f 100644 --- a/src/components/Partials/Header.jsx +++ b/src/components/Partials/Header.jsx @@ -686,7 +686,7 @@ export default function Header({ logoutModalHandler, sidebarHandler }) {
- Sign Out + {process.env.REACT_APP_LOGOUT_TEXT}