|
@@ -32,7 +32,7 @@ export const postLoginSubmit = payload => {
|
|
promise.then(
|
|
promise.then(
|
|
data => data.json().then(data => {
|
|
data => data.json().then(data => {
|
|
writeLocalStorage(data);
|
|
writeLocalStorage(data);
|
|
- return dispatch(postLoginSuccess(data))
|
|
|
|
|
|
+ dispatch(postLoginSuccess(data))
|
|
}),
|
|
}),
|
|
error => dispatch(postLoginError(error))
|
|
error => dispatch(postLoginError(error))
|
|
)
|
|
)
|