| 3 | import { supabase } from "@/integrations/supabase/client"; |
| 4 | import { callBackend } from "@/lib/call-backend"; |
| 5 | |
| 6 | interface LocationAutocompleteProps { |
| 7 | value: string; |
| 8 | onChange: (value: string) => void; |
| 9 | placeholder?: string; |
| 10 | /** @deprecated retained for backwards compatibility; token is no longer required on the client */ |
| 11 | mapToken?: string; |
| 12 | } |
| 13 | |
| 14 | const LocationAutocomplete = ({ value, onChange, placeholder = "Search location…" }: LocationAutocompleteProps) => { |
nothing calls this directly
no outgoing calls
no test coverage detected