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(() => {