Skip to content

Commit

Permalink
chore: Remove text decoration from room tag (#30606)
Browse files Browse the repository at this point in the history
Co-authored-by: Douglas Fabris <[email protected]>
  • Loading branch information
juliajforesti and dougfabris authored Oct 11, 2023
1 parent 0cdf97d commit 82839a4
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 82839a4

Please sign in to comment.