[Glitch] Fix linting issues with VerifiedBadge component

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
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

@@ -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;