Fix busted avatar links on charity pages (#380)

This commit is contained in:
Marshall Polaris 2022-05-31 20:02:50 -07:00 committed by GitHub
parent 7c4ec2a8e3
commit 9f1fe3ee17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ export function Donation(props: { txn: Txn }) {
return (
<div className="mb-2 flow-root pr-2 md:pr-0">
<div className="relative flex items-center space-x-3">
<Avatar username={user.name} avatarUrl={user.avatarUrl} size="sm" />
<Avatar username={user.username} avatarUrl={user.avatarUrl} size="sm" />
<div className="min-w-0 flex-1">
<p className="mt-0.5 text-sm text-gray-500">
<UserLink