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)" flexGap="var(--margins-xs)"
> >
{otherInfo.loading ? ( {otherInfo.loading ? (
<p style={{ userSelect: 'text' }}>{localize('loading')}</p> <p>{localize('loading')}</p>
) : otherInfo.error ? ( ) : otherInfo.error ? (
<p style={{ userSelect: 'text' }}> <p style={{ color: 'var(--danger-color)', userSelect: 'text' }}>
<span style={{ color: 'var(--danger-color)' }}> {localize('theError')}: {otherInfo.error.message || localize('errorUnknown')}
{localize('theError')}: {otherInfo.error.message || localize('errorUnknown')}
</span>
</p> </p>
) : null} ) : null}
{otherInfo.value {otherInfo.value

Loading…
Cancel
Save