You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
return new Promise(resolve => setTimeout(resolve(response), 1000)); - without delay
If you emulate delay 1 second need wrap resove(response) in function return new Promise(resolve => setTimeout(() => resolve(response), 1000)); - with delay
The text was updated successfully, but these errors were encountered:
In this file
https://github.com/bernabe9/redux-react-session/blob/master/examples/react-router-v4-example/src/api/sessionApi.js
return new Promise(resolve => setTimeout(resolve(response), 1000));
- without delayIf you emulate delay 1 second need wrap resove(response) in function
return new Promise(resolve => setTimeout(() => resolve(response), 1000));
- with delayThe text was updated successfully, but these errors were encountered: