mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 09:03:43 +01:00
[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
2 changed files with 3 additions and 6 deletions
|
@ -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 a new issue