mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-14 11:53:49 +00:00
refactor(settings): improve error message on version fetch
This commit is contained in:
committed by
Carlos Valente
parent
c1d9276dd5
commit
1694cca92c
@@ -10,7 +10,7 @@ export default function AppVersion() {
|
||||
return (
|
||||
<Panel.Paragraph>
|
||||
{`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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user