After update dropbox fromV4 to V10 in my laravel-react project "const mapState = state => { return{storageEmail:state.storage.user.result.name.email} }" does not work properly.
When I put console.log (stage.storage.user) inside mapState it prints 20-30 times (stage.storage.user). The first 5 6 prints object user is empty. After that, it prints the correct object. Does anyone know why this happens and how it can be fixed. Because at the bottom of the file I export the default user and it is empty.