fix(web): Add AlertTriangle import and remove hardcoded API key fallback

This commit is contained in:
Hamza-Ayed
2026-08-21 00:09:16 +03:00
parent d7119a53eb
commit 429496dd3c
+2 -2
View File
@@ -1,11 +1,11 @@
import React, { useState, useEffect } from 'react';
import MapComponent from './components/MapComponent';
import { Navigation, Compass, Activity, BarChart3, MapPin, Eye, Shield, Gauge, Clock } from 'lucide-react';
import { Navigation, Compass, Activity, BarChart3, MapPin, Eye, Shield, Gauge, Clock, AlertTriangle } from 'lucide-react';
import { decodePolyline } from './utils/polyline';
import WeatherPanel from './components/WeatherPanel';
import { LineOfSightTool } from './components/LineOfSightTool';
const DEFAULT_API_KEY = (import.meta as any).env.VITE_API_KEY || localStorage.getItem('intaleq_api_key') || 'zP9vL5mK2nQ8xR7jT4wS1yB6hG3fV0cX';
const DEFAULT_API_KEY = (import.meta as any).env.VITE_API_KEY || localStorage.getItem('intaleq_api_key') || '';
function App() {
const [map, setMap] = useState<any>(null);