Commit 4b042c89 by Ha Huynh Committed by Torkel Ödegaard

Profile: Fix issue with user profile not showing more than sessions some times (#19578)

* fix <react-profile-wrapper> crashing

* refix crashing profile page
parent 50acb37a
...@@ -23,6 +23,7 @@ export const ReactProfileWrapper = () => ( ...@@ -23,6 +23,7 @@ export const ReactProfileWrapper = () => (
)} )}
<SharedPreferences resourceUri="user" /> <SharedPreferences resourceUri="user" />
<UserTeams isLoading={states.loadTeams} loadTeams={api.loadTeams} teams={teams} /> <UserTeams isLoading={states.loadTeams} loadTeams={api.loadTeams} teams={teams} />
{!states.loadUser && (
<UserOrganizations <UserOrganizations
isLoading={states.loadOrgs} isLoading={states.loadOrgs}
setUserOrg={api.setUserOrg} setUserOrg={api.setUserOrg}
...@@ -30,6 +31,7 @@ export const ReactProfileWrapper = () => ( ...@@ -30,6 +31,7 @@ export const ReactProfileWrapper = () => (
orgs={orgs} orgs={orgs}
user={user} user={user}
/> />
)}
</> </>
); );
}} }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment