'use client' import { useState, useEffect, useRef, useCallback } from 'react' import dynamic from 'next/dynamic' import { MapPin, AlertTriangle, X, Save, Maximize2, Minimize2 } from 'lucide-react' import type { OutbreakReport } from '@/lib/outbreakReport' // Dynamically import Google Maps component to avoid SSR issues const GoogleMapComponent = dynamic(() => import('./GoogleMap'), { ssr: false, loading: () => (
Loading map...
Selected location
{selectedLocation.lat.toFixed(4)}, {selectedLocation.lng.toFixed(4)}
Tap the map where you are seeing crop trouble
Location
{selectedLocation.lat.toFixed(4)}, {selectedLocation.lng.toFixed(4)}