From 67b924fa14028b641d0ea6cfd9057c5a6b8a0f94 Mon Sep 17 00:00:00 2001 From: Ben Mitchinson Date: Thu, 9 Oct 2025 22:52:31 -0700 Subject: [PATCH] oops left comment --- .../ActionButton/LocationSelector.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx b/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx index f68c7c70f..1d1ebf873 100644 --- a/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx +++ b/web/src/components/MemoEditor/ActionButton/LocationSelector.tsx @@ -42,23 +42,6 @@ const LocationSelector = (props: Props) => { latInput: String(props.location?.latitude) || "", lngInput: String(props.location?.longitude) || "", })); - // if (props.location) { - // setState((state) => ({ - // ...state, - // placeholder: props.location.placeholder || "", - // position: new LatLng(props.location.latitude, props.location.longitude), - // latInput: String(props.location.latitude), - // lngInput: String(props.location.longitude), - // })); - // } else { - // setState((state) => ({ - // ...state, - // placeholder: "", - // position: undefined, - // latInput: "", - // lngInput: "", - // })); - // } }, [props.location]); useEffect(() => {