mirror of https://github.com/Siphonay/mastodon
[Glitch] Fix linting issues with VerifiedBadge component
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
2efb22f455
commit
e7ec2641a0
|
@ -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';
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue