Skip to content

Commit 1617590

Browse files
committed
Fix CI/CD build errors
- Add coreOrbitsClient export alias in api/client.ts - Change @ts-ignore to @ts-expect-error (ESLint rule) - Add animationSpeed to useEffect dependency array - Add eslint-disable comment for intentional partial dependency
1 parent 0c88d32 commit 1617590

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

frontend/web/src/api/client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ export const api = {
3434
};
3535

3636
export { coreOrbitsApi, routingApi, schedulerApi, aiAgentsApi };
37+
38+
// Alias for backward compatibility
39+
export const coreOrbitsClient = coreOrbitsApi;

frontend/web/src/components/Globe/CesiumGlobe.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default function CesiumGlobe({
9191
// Create viewer with OpenStreetMap imagery
9292
const viewer = new Viewer(containerRef.current!, {
9393
// Use OpenStreetMap instead of Cesium Ion
94-
// @ts-ignore - Cesium types issue
94+
// @ts-expect-error - Cesium types issue with imageryProvider
9595
imageryProvider: new OpenStreetMapImageryProvider({
9696
url: 'https://tile.openstreetmap.org/',
9797
}),
@@ -149,7 +149,8 @@ export default function CesiumGlobe({
149149
viewerRef.current = null;
150150
}
151151
};
152-
}, []);
152+
// eslint-disable-next-line react-hooks/exhaustive-deps
153+
}, [animationSpeed]);
153154

154155
// Update animation speed
155156
useEffect(() => {

0 commit comments

Comments
 (0)