Skip to content

Commit

Permalink
Merge pull request #15 from royallsilwallz/fix/6121-logout-from-setti…
Browse files Browse the repository at this point in the history
…ngs-crash

fix/6121 logout from settings crash
  • Loading branch information
royallsilwallz authored Nov 1, 2023
2 parents 321c883 + 405e3b0 commit 9bf58ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/views/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function Settings() {
</div>
<div className="fl w-100 w-40-l pb3 pl3-l">
<PersonalInformationForm />
<OSMCard username={userDetails.username} />
{userDetails?.username && <OSMCard username={userDetails.username} />}
</div>
</div>
</div>
Expand Down

0 comments on commit 9bf58ef

Please sign in to comment.