diff --git a/src/components/UpdateNotification.tsx b/src/components/UpdateNotification.tsx index 26af3e6..67d2c04 100644 --- a/src/components/UpdateNotification.tsx +++ b/src/components/UpdateNotification.tsx @@ -12,6 +12,7 @@ import { RefreshCw, X } from 'lucide-react'; export const UpdateNotification = memo(function UpdateNotification() { const [showUpdate, setShowUpdate] = useState(false); + const [showOfflineReady, setShowOfflineReady] = useState(true); const { offlineReady: [offlineReady, setOfflineReady], @@ -50,11 +51,18 @@ export const UpdateNotification = memo(function UpdateNotification() { setNeedRefresh(false); }; - if (offlineReady && !needRefresh) { + if (offlineReady && !needRefresh && showOfflineReady) { return ( -
✓ App is ready to work offline