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:
parent
c803f7454e
commit
c3c00d0215
1 changed files with 2 additions and 2 deletions
|
@ -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)]" />
|
||||
|
|
Loading…
Add table
Reference in a new issue