refactor(settings): improve error message on version fetch

This commit is contained in:
Carlos Valente
2025-11-13 07:45:26 +01:00
committed by Carlos Valente
parent c1d9276dd5
commit 1694cca92c
@@ -10,7 +10,7 @@ export default function AppVersion() {
return ( return (
<Panel.Paragraph> <Panel.Paragraph>
{`You are currently using Ontime version ${appVersion}`} {`You are currently using Ontime version ${appVersion}`}
<Panel.Error>{`Could not fetch version information: ${isError}`}</Panel.Error> <Panel.Error>Could not fetch version information</Panel.Error>
</Panel.Paragraph> </Panel.Paragraph>
); );
} }