diff --git a/src/components/Event/FullAddressAutoComplete.vue b/src/components/Event/FullAddressAutoComplete.vue index 0302b737..a9f687f0 100644 --- a/src/components/Event/FullAddressAutoComplete.vue +++ b/src/components/Event/FullAddressAutoComplete.vue @@ -347,9 +347,7 @@ const asyncData = async (query: string): Promise => { const result = (await searchAddressLoad(undefined, queryVars)) || - (await searchAddressRefetch(queryVars)?.then((object) => { - return object.data; - })); + (await searchAddressRefetch(queryVars))?.data if (!result) { isFetching.value = false;