diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-16 22:08:45 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2026-04-16 22:08:45 +0200 |
| commit | 3ae8d5c7111191957a8035887f79bf49f485c805 (patch) | |
| tree | 45d5798f6e6409b4d968bb4ecb093843c649ee03 /src/frontend/app/components | |
| parent | fc6d4cbaf78f75a5ac234862ecbf86faeb78a338 (diff) | |
Diffstat (limited to 'src/frontend/app/components')
| -rw-r--r-- | src/frontend/app/components/PlannerOverlay.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/frontend/app/components/PlannerOverlay.tsx b/src/frontend/app/components/PlannerOverlay.tsx index d42bd94..39f6848 100644 --- a/src/frontend/app/components/PlannerOverlay.tsx +++ b/src/frontend/app/components/PlannerOverlay.tsx @@ -247,7 +247,11 @@ export const PlannerOverlay: React.FC<PlannerOverlayProps> = ({ setRemoteLoading(true); const t = setTimeout(async () => { try { - const results = await searchPlaces(q); + const results = await searchPlaces( + q, + userLocation?.latitude, + userLocation?.longitude + ); if (!cancelled) setRemoteResults(results); } finally { if (!cancelled) setRemoteLoading(false); |
