diff --git a/src/components/Auth/AuthForPartners.js b/src/components/Auth/AuthForPartners.js index 98ef5e87..265e3887 100644 --- a/src/components/Auth/AuthForPartners.js +++ b/src/components/Auth/AuthForPartners.js @@ -67,14 +67,14 @@ const AuthForPartners = () => { onClick={!isLoading ? (e) => { e.preventDefault(); dispatch(loading(true)) - // fetchAuth({ - // username, - // password, - // dispatch: ()=> { - // dispatch(auth(true)) - // dispatch(loading(false)) - // } - // }) + fetchAuth({ + username, + password, + dispatch: ()=> { + dispatch(auth(true)) + dispatch(loading(false)) + } + }) } : ()=>{}} > { isLoading ? : 'Войти' }