Fix user avatar in mention list not updating

This commit is contained in:
Sinclair Chen 2022-08-18 15:49:51 -07:00
parent 4f6d478211
commit 83469e3258

View File

@ -51,6 +51,7 @@ export const MentionList = forwardRef((props: SuggestionProps<User>, ref) => {
selectedIndex === i ? 'bg-indigo-500 text-white' : 'text-gray-900'
)}
onClick={() => submitUser(i)}
key={user.id}
>
<Avatar avatarUrl={user.avatarUrl} size="xs" />
{user.username}