Skip to content

Commit

Permalink
Merge pull request #2812 from chalkedgoose/patch-1
Browse files Browse the repository at this point in the history
Modify ternary expression in SingleUser
  • Loading branch information
benawad authored May 18, 2021
2 parents a208300 + dfadf99 commit 5238f00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kibbeh/src/ui/UserAvatar/SingleUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ export const SingleUser: React.FC<AvatarProps> = ({
: src
}
/>
{hover ? (
{hover && (
<div
className={`bg-primary-900 hover:opacity-20 transition duration-200 opacity-0 absolute w-full h-full top-0 left-0 rounded-full`}
></div>
) : null}
)}
{isOnline && (
<span
className={
Expand Down

1 comment on commit 5238f00

@vercel
Copy link

@vercel vercel bot commented on 5238f00 May 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.