aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components')
-rw-r--r--src/frontend/app/components/PlannerOverlay.tsx6
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);