From 0223ecdac226ca194f418e2e9e98c75692e0ab96 Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Sat, 5 Feb 2022 22:13:13 -0800 Subject: [PATCH] Use Avatar in leaderboard Removes the extra ring --- web/components/leaderboard.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/web/components/leaderboard.tsx b/web/components/leaderboard.tsx index 54e105b5..eaa0fc4d 100644 --- a/web/components/leaderboard.tsx +++ b/web/components/leaderboard.tsx @@ -1,5 +1,6 @@ import clsx from 'clsx' import { User } from '../../common/user' +import { Avatar } from './avatar' import { Row } from './layout/row' import { SiteLink } from './site-link' import { Title } from './title' @@ -38,13 +39,7 @@ export function Leaderboard(props: { - +
{user.name}