From cfa4dffd4a2384dfdf9e775504d62e4ebe62a4c2 Mon Sep 17 00:00:00 2001 From: Oren Geva Date: Fri, 15 May 2026 15:14:14 +0300 Subject: [PATCH] fix: include iconsReady in boundary-update effect deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The background checkBoundaryUpdates dispatch was gated on isReady(), which depends on iconsReady, but iconsReady was missing from the effect's deps array. On warm starts (saved state already loaded), the effect ran once with iconsReady=false, failed the guard, and never re-ran when icons finished loading — so new VATSPY/TRACON release tags were never fetched and boundaries never refreshed. --- app/components/mainApp/MainApp.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/mainApp/MainApp.jsx b/app/components/mainApp/MainApp.jsx index a447d22..a11a7fc 100644 --- a/app/components/mainApp/MainApp.jsx +++ b/app/components/mainApp/MainApp.jsx @@ -76,7 +76,7 @@ export default function mainApp() { if (isReady()) { dispatch(allActions.staticAirspaceDataActions.checkBoundaryUpdates); } - }, [airportsLoaded, firBoundariesLoaded]); + }, [airportsLoaded, firBoundariesLoaded, iconsReady]); function isReady() {