Update geocode store to use new naming pattern

This commit is contained in:
Eli Ribble 2026-04-14 18:40:54 +00:00
parent 67dcb87b81
commit 347e8dcb86
No known key found for this signature in database
4 changed files with 7 additions and 7 deletions

View file

@ -65,7 +65,7 @@ import AddressSuggestion from "@/components/AddressSuggestion.vue";
import MapLocator from "@/components/MapLocator.vue";
import { Address } from "@/type/api";
import type { Geocode, GeocodeSuggestion, Location } from "@/type/api";
import { useGeocodeStore } from "@/store/geocode";
import { useStoreGeocode } from "@/store/geocode";
import { Camera } from "@/type/map";
import type { Marker } from "@/types";
@ -79,7 +79,7 @@ interface Props {
const address = ref<string>("");
const currentCamera = ref<Camera>(new Camera());
const emit = defineEmits<Emits>();
const geocode = useGeocodeStore();
const geocode = useStoreGeocode();
const markers = computed((): Marker[] => {
if (!props.modelValue.location) {
return [];