diff --git a/frontend/src/components/EarthTwin.tsx b/frontend/src/components/EarthTwin.tsx
index 780975d..181ed95 100644
--- a/frontend/src/components/EarthTwin.tsx
+++ b/frontend/src/components/EarthTwin.tsx
@@ -16,6 +16,7 @@ import {
import { useSpeechRecognition } from '../hooks/useSpeechRecognition';
import { executeVoiceCommand } from '../lib/voiceCommands';
+import { SpotlightManager } from './SatelliteSpotlight/SpotlightManager';
interface CatalogObject {
id: number;
@@ -137,18 +138,22 @@ const LegendCardSkeleton = () => (
);
-export const EarthTwin: React.FC = () => {
- const navigate = useNavigate();
export interface EarthTwinHandle {
/** Flies the camera to the given NORAD catalog number and opens its info panel. */
flyToSatellite: (catalogNumber: string) => void;
}
export const EarthTwin = forwardRef((_props, ref) => {
+ const navigate = useNavigate();
const containerRef = useRef(null);
const viewerRef = useRef(null);
const entitiesRef = useRef