Skip to content

Commit

Permalink
Update src/components/UserInfo/UserInfo.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Natalia Klonowska <[email protected]>
  • Loading branch information
keex1k and natalia-klonowska authored Jul 15, 2024
1 parent 093420b commit 71f9159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/UserInfo/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Props = {
};

export const UserInfo: React.FC<Props> = ({ user }) => {
if (user !== null) {
if (user) {
return (
<a className="UserInfo" href={'mailto:' + user.email}>
{user.name}
Expand Down

0 comments on commit 71f9159

Please sign in to comment.