Closed ataverascrespo closed 11 months ago
Found the issue.
SetViewedUser just sets the current signed in user as the viewed user, whereas GetViewedUser actually parses the URL username to fetch them from the API. That logic was made to save on some API calls, but now I see lowering round trips doesn't make sense if it affects the logic of the app. Getting rid of that first condition check (with setViewedUser) should hopefully solve the problem.
When i follow another user, the global state change does not reflect until a refresh of the entire app.
To replicate, sign in and follow another user. Navigate to other pages and navigate back. The follow has not reflected. It will only reflect on refresh.