Fix missing useEffect dependencies in ProviderMap MarkerLayer

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 13:50:49 +10:00
parent 1baa55c417
commit d7796e53a8

View File

@@ -288,7 +288,7 @@ const MarkerLayer: React.FC<{
roots.forEach((r) => r.unmount());
}, 0);
};
}, [map, markerLibrary, providers, hiddenIds]);
}, [map, markerLibrary, providers, hiddenIds, externalisePopups, theme]);
return null;
};