Skip to content

Commit

Permalink
chore: pr feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Nastya Rusina <[email protected]>
  • Loading branch information
anrusina committed Mar 31, 2022
1 parent 9169915 commit 8adfaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navigation/UserInformation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const UserInformation: React.FC<{}> = () => {
return (
<WaitForData spinnerVariant="none" {...profile}>
<div className={useStyles().container}>
{profile.value == null ? (
{!profile.value ? (
<LoginLink />
) : !profile.value.preferredUsername || profile.value.preferredUsername === '' ? (
profile.value.name
Expand Down

0 comments on commit 8adfaeb

Please sign in to comment.