Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

fix(desktop-app): r1-l1 remove unused preview timer key

Josuébc2d34bfbbe5
diff --git a/desktop-app/ui/src/App.tsx b/desktop-app/ui/src/App.tsx
index 58745e25d..2bff75a56 100644
--- a/desktop-app/ui/src/App.tsx
+++ b/desktop-app/ui/src/App.tsx
@@ -1081,7 +1081,7 @@ export function App() {
active = false
unsubscribeGfs()
if (stopSubscription) void stopSubscription()
- for (const [uri, timer] of previewRetryTimersRef.current) {
+ for (const timer of previewRetryTimersRef.current.values()) {
window.clearTimeout(timer)
}
for (const uri of previewRefreshGenerationRef.current.keys()) {