Fix user avatar in mention list not updating (#778)
This commit is contained in:
parent
0cf9a90cfb
commit
2537663a57
|
@ -51,6 +51,7 @@ export const MentionList = forwardRef((props: SuggestionProps<User>, ref) => {
|
||||||
selectedIndex === i ? 'bg-indigo-500 text-white' : 'text-gray-900'
|
selectedIndex === i ? 'bg-indigo-500 text-white' : 'text-gray-900'
|
||||||
)}
|
)}
|
||||||
onClick={() => submitUser(i)}
|
onClick={() => submitUser(i)}
|
||||||
|
key={user.id}
|
||||||
>
|
>
|
||||||
<Avatar avatarUrl={user.avatarUrl} size="xs" />
|
<Avatar avatarUrl={user.avatarUrl} size="xs" />
|
||||||
{user.username}
|
{user.username}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user