commit
2d6a3e49e6
@ -67,14 +67,14 @@ const AuthForPartners = () => {
|
|||||||
onClick={!isLoading ? (e) => {
|
onClick={!isLoading ? (e) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
dispatch(loading(true))
|
dispatch(loading(true))
|
||||||
// fetchAuth({
|
fetchAuth({
|
||||||
// username,
|
username,
|
||||||
// password,
|
password,
|
||||||
// dispatch: ()=> {
|
dispatch: ()=> {
|
||||||
// dispatch(auth(true))
|
dispatch(auth(true))
|
||||||
// dispatch(loading(false))
|
dispatch(loading(false))
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
} : ()=>{}}
|
} : ()=>{}}
|
||||||
>
|
>
|
||||||
{ isLoading ? <Loader /> : 'Войти' }
|
{ isLoading ? <Loader /> : 'Войти' }
|
||||||
|
Loading…
Reference in New Issue
Block a user