1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

remove unnecessary escapeHTML in UserCardBox

This commit is contained in:
David Stensland 2024-02-24 12:12:09 -08:00 committed by Bill Thornton
parent 6eb6d75797
commit 10419dcd48

View file

@ -5,7 +5,6 @@ import { getLocaleWithSuffix } from '../../../utils/dateFnsLocale';
import globalize from '../../../lib/globalize';
import IconButtonElement from '../../../elements/IconButtonElement';
import LinkButton from '../../../elements/emby-button/LinkButton';
import escapeHTML from 'escape-html';
import { getDefaultBackgroundClass } from '../../cardbuilder/cardBuilderUtils';
type IProps = {
@ -73,7 +72,7 @@ const UserCardBox: FunctionComponent<IProps> = ({ user = {} }: IProps) => {
/>
</div>
<div className='cardText'>
<span>{escapeHTML(user.Name)}</span>
<span>{user.Name}</span>
</div>
<div className='cardText cardText-secondary'>
<span>{lastSeen != '' ? lastSeen : ''}</span>