oops left comment

This commit is contained in:
Ben Mitchinson 2025-10-09 22:52:31 -07:00
parent df9dcca62e
commit 67b924fa14
1 changed files with 0 additions and 17 deletions

View File

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