fix: clean up otherinfo error and loading html

pull/3281/head
yougotwill 2 months ago
parent 794d20072c
commit 864e3c032b

@ -282,12 +282,10 @@ export const OtherInfo = () => {
flexGap="var(--margins-xs)"
>
{otherInfo.loading ? (
<p style={{ userSelect: 'text' }}>{localize('loading')}</p>
<p>{localize('loading')}</p>
) : otherInfo.error ? (
<p style={{ userSelect: 'text' }}>
<span style={{ color: 'var(--danger-color)' }}>
{localize('theError')}: {otherInfo.error.message || localize('errorUnknown')}
</span>
<p style={{ color: 'var(--danger-color)', userSelect: 'text' }}>
{localize('theError')}: {otherInfo.error.message || localize('errorUnknown')}
</p>
) : null}
{otherInfo.value

Loading…
Cancel
Save