Fix username link
This commit is contained in:
parent
db7eee495c
commit
f17c4ac40f
|
@ -685,8 +685,8 @@ function FeedAnswerGroup(props: {
|
||||||
const { username, avatarUrl, userId, name, text } = answer
|
const { username, avatarUrl, userId, name, text } = answer
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Col className="gap-2 flex-1">
|
<Col className="flex-1 gap-2">
|
||||||
<Row className="gap-3 mb-4">
|
<Row className="mb-4 gap-3">
|
||||||
<div className="px-1">
|
<div className="px-1">
|
||||||
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-gray-200">
|
<div className="flex h-8 w-8 items-center justify-center rounded-full bg-gray-200">
|
||||||
<Avatar username={username} avatarUrl={avatarUrl} />
|
<Avatar username={username} avatarUrl={avatarUrl} />
|
||||||
|
@ -694,7 +694,7 @@ function FeedAnswerGroup(props: {
|
||||||
</div>
|
</div>
|
||||||
<Col className="min-w-0 flex-1 gap-2">
|
<Col className="min-w-0 flex-1 gap-2">
|
||||||
<div className="text-sm text-gray-500">
|
<div className="text-sm text-gray-500">
|
||||||
<UserLink username={userId} name={name} /> answered
|
<UserLink username={username} name={name} /> answered
|
||||||
</div>
|
</div>
|
||||||
<Linkify text={text} />
|
<Linkify text={text} />
|
||||||
</Col>
|
</Col>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user