Skip to content

The agent that grows with you

fix: update ui double string

ethernetde89d9c95ba9
diff --git a/apps/desktop/src/components/update-status.tsx b/apps/desktop/src/components/update-status.tsx
index bf3393af839..b4b3c79b07f 100644
--- a/apps/desktop/src/components/update-status.tsx
+++ b/apps/desktop/src/components/update-status.tsx
@@ -94,14 +94,10 @@ function ordinaryUpdateStatus({ apply, checking, status, target, u }: UpdateStat
}
if (status?.error) {
- // A git that never ran is a local problem; leading with "couldn't reach
- // the update server" would misdiagnose it as a network failure.
- const prefix = status.error === 'git-unusable' ? '' : u.cantReach
-
return {
applying,
error: [status.message, status.error].filter(l => !!l).join('\n'),
- line: [prefix, status.message].filter(Boolean).join(' '),
+ line: u.cantReach,
supported,
tone: 'error',
updateAvailable