0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixed linting issues

This commit is contained in:
Simon Backx 2022-08-31 14:20:23 +02:00
parent c803f7454e
commit c3c00d0215

View file

@ -16,7 +16,7 @@ export const BlankAvatar = () => {
</div>
</figure>
);
}
};
export const Avatar = ({comment}) => {
const {member, avatarSaturation} = useContext(AppContext);
@ -86,7 +86,7 @@ export const Avatar = ({comment}) => {
<>
{memberName ?
(<div className={`flex items-center justify-center rounded-full ${dimensionClasses}`} style={avatarStyle}>
<p className="font-sans font-semibold text-white text-lg">{ commentGetInitials() }</p>
<p className="font-sans text-lg font-semibold text-white">{ commentGetInitials() }</p>
</div>) :
(<div className={`flex items-center justify-center rounded-full bg-neutral-900 dark:bg-[rgba(255,255,255,0.7)] ${dimensionClasses}`}>
<AvatarIcon className="stroke-white dark:stroke-[rgba(0,0,0,0.6)]" />