[Glitch] Fix linting issues with VerifiedBadge component

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2492/head
Renaud Chaput 2023-05-09 03:11:56 +02:00 committed by Claire
parent 2efb22f455
commit e7ec2641a0
2 changed files with 3 additions and 6 deletions

View File

@ -9,7 +9,7 @@ import { Skeleton } from 'flavours/glitch/components/skeleton';
import { counterRenderer } from 'flavours/glitch/components/common_counter';
import ShortNumber from 'flavours/glitch/components/short_number';
import classNames from 'classnames';
import VerifiedBadge from 'flavours/glitch/components/verified_badge';
import { VerifiedBadge } from 'flavours/glitch/components/verified_badge';
import { me } from '../initial_state';

View File

@ -1,14 +1,11 @@
import React from 'react';
import { Icon } from './icon';
type Props = {
interface Props {
link: string;
};
}
export const VerifiedBadge: React.FC<Props> = ({ link }) => (
<span className='verified-badge'>
<Icon id='check' className='verified-badge__mark' />
<span dangerouslySetInnerHTML={{ __html: link }} />
</span>
);
export default VerifiedBadge;