diff --git a/src/renderer/src/components/UpdateNotification.tsx b/src/renderer/src/components/UpdateNotification.tsx index f70a0e069..177564233 100644 --- a/src/renderer/src/components/UpdateNotification.tsx +++ b/src/renderer/src/components/UpdateNotification.tsx @@ -3,7 +3,7 @@ * Shows when a new version is available and allows user to download/install */ import { useState, useEffect } from 'react' -import { Download, RefreshCw, X, CheckCircle } from 'lucide-react' +import { Download, RefreshCw, X, CheckCircle, AlertCircle } from 'lucide-react' import { Button } from '@/components/ui/button' import type { UpdateStatus } from '../../../shared/electron-api' @@ -39,16 +39,18 @@ export function UpdateNotification(): React.JSX.Element | null { if (dismissed) return null if (!updateStatus) return null if (updateStatus.status === 'checking' || updateStatus.status === 'not-available') return null - if (updateStatus.status === 'error') return null const version = updateStatus.info?.version + const isError = updateStatus.status === 'error' return (