diff --git a/src/containers/Auth/Auth.tsx b/src/containers/Auth/Auth.tsx index 18f27f549e..22e1e051cd 100644 --- a/src/containers/Auth/Auth.tsx +++ b/src/containers/Auth/Auth.tsx @@ -152,9 +152,9 @@ export const Auth = ({ const handlePhone = () => - (value: string): void => { - initialFormValues.phone = value; - }; + (value: string): void => { + initialFormValues.phone = value; + }; let formElements; if (!successMessage) { @@ -175,7 +175,7 @@ export const Auth = ({ saveHandler(item); }} > - {({ submitForm, values }) => ( + {({ submitForm, values, setValues }) => (