Fix username link

This commit is contained in:
Austin Chen 2022-03-15 12:22:21 -07:00
parent db7eee495c
commit f17c4ac40f

View File

@ -685,8 +685,8 @@ function FeedAnswerGroup(props: {
const { username, avatarUrl, userId, name, text } = answer
return (
<Col className="gap-2 flex-1">
<Row className="gap-3 mb-4">
<Col className="flex-1 gap-2">
<Row className="mb-4 gap-3">
<div className="px-1">
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-gray-200">
<Avatar username={username} avatarUrl={avatarUrl} />
@ -694,7 +694,7 @@ function FeedAnswerGroup(props: {
</div>
<Col className="min-w-0 flex-1 gap-2">
<div className="text-sm text-gray-500">
<UserLink username={userId} name={name} /> answered
<UserLink username={username} name={name} /> answered
</div>
<Linkify text={text} />
</Col>