Skip to content

Commit

Permalink
Modify ternary expression in SingleUser
Browse files Browse the repository at this point in the history
  • Loading branch information
chalkedgoose authored May 18, 2021
1 parent a208300 commit dfadf99
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

0 comments on commit dfadf99

Please sign in to comment.