kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
fix: [vite] warning: The "??" operator here will always return the left operand
rodzic
b772415e67
commit
a4e74fdcb7
|
@ -810,7 +810,7 @@ const StatusActionBar: React.FC<IStatusActionBar> = ({
|
||||||
active={status.zapped}
|
active={status.zapped}
|
||||||
text={withLabels ? intl.formatMessage(messages.zap) : undefined}
|
text={withLabels ? intl.formatMessage(messages.zap) : undefined}
|
||||||
theme={statusActionButtonTheme}
|
theme={statusActionButtonTheme}
|
||||||
count={status?.zaps_amount / 1000 ?? 0}
|
count={status?.zaps_amount ? status.zaps_amount / 1000 : 0}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue