Skip to content

Commit

Permalink
Merge branch 'develop' into remove-license-replace
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Oct 12, 2023
2 parents bd6c203 + 82839a4 commit f451b92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ type RoomForewordUsernameListItemProps = {
useRealName: boolean;
};

// TODO: Improve `Tag` a11y to be used as a link
const RoomForewordUsernameListItem: VFC<RoomForewordUsernameListItemProps> = ({ username, href, useRealName }) => {
const { data, isLoading, isError } = useUserInfoQuery({ username });

return (
<Box mi={4} is='a' href={href}>
<Box mi={4} is='a' href={href} style={{ textDecoration: 'none' }}>
<Tag icon={<Icon name='user' size='x20' />} className='mention-link' data-username={username} large>
{isLoading && <Skeleton variant='rect' />}
{!isLoading && isError && username}
Expand Down

0 comments on commit f451b92

Please sign in to comment.