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
I want access redux store in the file storage.js, because in the mod I am working we need to send a token (that is stored in redux store) in the API request header to get an asset in the function getAssetGetConfig():
I tried creating a HOC that returns the token (see code below) but I was not able to connect it to storage.js. I think is because it is exporting an instance.
I want access redux store in the file storage.js, because in the mod I am working we need to send a token (that is stored in redux store) in the API request header to get an asset in the function
getAssetGetConfig()
:I tried creating a HOC that returns the token (see code below) but I was not able to connect it to
storage.js
. I think is because it is exporting an instance.Thank you 🙇♀️
The text was updated successfully, but these errors were encountered: