()
| 48 | }; |
| 49 | |
| 50 | const AvatarSquare = (): ReactElement | null => { |
| 51 | const { user } = useAuthContext(); |
| 52 | |
| 53 | if (!user) { |
| 54 | return null; |
| 55 | } |
| 56 | |
| 57 | return ( |
| 58 | <Link href={`${webappUrl}you`} passHref> |
| 59 | <ShellSquare tag="a" aria-label="You" className="overflow-hidden"> |
| 60 | <ProfilePicture |
| 61 | user={user} |
| 62 | size={ProfileImageSize.Large} |
| 63 | nativeLazyLoading |
| 64 | className="!size-[2.375rem] !rounded-14" |
| 65 | /> |
| 66 | </ShellSquare> |
| 67 | </Link> |
| 68 | ); |
| 69 | }; |
| 70 | |
| 71 | const PlusSquare = (): ReactElement | null => { |
| 72 | const { isPlus, logSubscriptionEvent } = usePlusSubscription(); |
nothing calls this directly
no test coverage detected