check the status of the updated product on the server
Make sure the user does not logout automatically after one hour, if he is using the app. The one hour time should be refreshed if he is active...
Check again:
-
- Getting Started with useReducer() ...
-
- Adding Logout ...
In order to find where to send the request for authentication, google 'firebase rest auth api'