Run prettier

This commit is contained in:
Stefano Pigozzi 2024-12-09 06:07:34 +01:00
parent 67af3aedae
commit 39eb5c4fab
No known key found for this signature in database
GPG key ID: 5ADA3868646C3FC0
2 changed files with 13 additions and 13 deletions

View file

@ -358,11 +358,7 @@ function Status({
emojis: accountEmojis,
bot,
group,
source: {
pleroma: {
actorType = undefined
} = {},
} = {},
source: { pleroma: { actorType = undefined } = {} } = {},
},
id,
repliesCount,
@ -508,7 +504,7 @@ function Status({
if (reblog) {
// If has statusID, means useItemID (cached in states)
if (group || actorType === "Group") {
if (group || actorType === 'Group') {
return (
<div
data-state-post-id={sKey}
@ -516,11 +512,15 @@ function Status({
onMouseEnter={debugHover}
>
<div class="status-pre-meta">
<Icon icon="group" size="l" alt={t`Group`} />{' '}
<Trans>
<span>Posted in</span>{" "}
<NameText account={status.account} instance={instance} showAvatar />{' '}
</Trans>
<Icon icon="group" size="l" alt={t`Group`} />{' '}
<Trans>
<span>Posted in</span>{' '}
<NameText
account={status.account}
instance={instance}
showAvatar
/>{' '}
</Trans>
</div>
<Status
status={statusID ? null : reblog}

4
src/locales/en.po generated
View file

@ -32,7 +32,7 @@ msgstr ""
#: src/components/account-block.jsx:168
#: src/components/account-info.jsx:641
#: src/components/status.jsx:519
#: src/components/status.jsx:515
msgid "Group"
msgstr ""
@ -2039,7 +2039,7 @@ msgstr ""
msgid "Import/export settings from/to instance server (Very experimental)"
msgstr ""
#: src/components/status.jsx:520
#: src/components/status.jsx:516
msgid "<0>Posted in</0> <1/>"
msgstr "<0>Posted in</0> <1/>"