diff --git a/.guardian/churn_approval.yml b/.guardian/churn_approval.yml index 94ac5d01e..af013d461 100644 --- a/.guardian/churn_approval.yml +++ b/.guardian/churn_approval.yml @@ -1,7 +1,8 @@ approved_by: Cheewye -reason: Fix build frontend por stats.js shim (scope frontend). +reason: Unblock frontend build: RealTimeMap JSX + stats.js shim. allow_paths: + - frontend/src/components/maps/RealTimeMap.tsx - frontend/src/shims/stats.js -expires_at: 2026-04-15 +expires_at: 2026-04-01 base_ref: origin/main -pr: fix/frontend-build-statsjs +pr: fix/frontend-build-realtime-map diff --git a/frontend/src/components/maps/RealTimeMap.tsx b/frontend/src/components/maps/RealTimeMap.tsx index ce1bee344..ca8462062 100644 --- a/frontend/src/components/maps/RealTimeMap.tsx +++ b/frontend/src/components/maps/RealTimeMap.tsx @@ -3350,14 +3350,15 @@ export default function RealTimeMap() { )} - + - - {/* ToastDock removido: status ahora se apila en el dock de badges bottom-left */} - - {/* Debug chip se movió al OverlayDock vía ModeOverlayHost.topRightExtras */} - + + + {/* ToastDock removido: status ahora se apila en el dock de badges bottom-left */} + + {/* Debug chip se movió al OverlayDock vía ModeOverlayHost.topRightExtras */} + ); } diff --git a/frontend/src/shims/stats.js b/frontend/src/shims/stats.js index 35290c384..c4a14528e 100644 --- a/frontend/src/shims/stats.js +++ b/frontend/src/shims/stats.js @@ -1,4 +1,4 @@ -import Stats from 'stats.js/src/Stats.js'; +import Stats from 'stats.js'; export default Stats; export const Panel = Stats.Panel;