chore: formatting
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Kieran 2023-11-29 10:53:17 +00:00
parent b6197f533f
commit ca472a5756
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
5 changed files with 19 additions and 7 deletions

View File

@ -8,7 +8,7 @@ type ProxyImgProps = HTMLProps<HTMLImageElement> & {
className?: string;
promptToLoadDirectly?: boolean;
missingImageElement?: ReactNode;
}
};
export const ProxyImg = ({ size, className, promptToLoadDirectly, missingImageElement, ...props }: ProxyImgProps) => {
const { proxy } = useImgProxy();

View File

@ -38,7 +38,11 @@ const Avatar = ({ pubkey, user, size, onClick, image, imageOverlay, icons, class
<div
onClick={onClick}
style={style}
className={classNames("avatar relative flex items-center justify-center", { "with-overlay": imageOverlay }, className)}
className={classNames(
"avatar relative flex items-center justify-center",
{ "with-overlay": imageOverlay },
className,
)}
data-domain={domain?.toLowerCase()}
title={getDisplayName(user, "")}>
<ProxyImg

View File

@ -118,12 +118,16 @@ const DonatePage = () => {
</p>
<p>
<FormattedMessage
defaultMessage="To see a full list of changes you can view the changelog {here}" id="VfhYxG"
defaultMessage="To see a full list of changes you can view the changelog {here}"
id="VfhYxG"
values={{
here: <Link to="/about" className="underline">
<FormattedMessage defaultMessage="here" id="hniz8Z" />
</Link>
}} />
here: (
<Link to="/about" className="underline">
<FormattedMessage defaultMessage="here" id="hniz8Z" />
</Link>
),
}}
/>
</p>
<p>
<FormattedMessage

View File

@ -861,6 +861,9 @@
"VcwrfF": {
"defaultMessage": "Yes please"
},
"VfhYxG": {
"defaultMessage": "To see a full list of changes you can view the changelog {here}"
},
"VlJkSk": {
"defaultMessage": "{n} muted"
},

View File

@ -283,6 +283,7 @@
"VOjC1i": "Pick which upload service you want to upload attachments to",
"VR5eHw": "Public key (npub/nprofile)",
"VcwrfF": "Yes please",
"VfhYxG": "To see a full list of changes you can view the changelog {here}",
"VlJkSk": "{n} muted",
"VnXp8Z": "Avatar",
"VvaJst": "View Wallets",