diff --git a/src/stores/useStateQueryStore.js b/src/stores/useStateQueryStore.js index 9893d3264..d25dbb921 100644 --- a/src/stores/useStateQueryStore.js +++ b/src/stores/useStateQueryStore.js @@ -3,9 +3,7 @@ import { defineStore } from 'pinia'; export const useStateQueryStore = defineStore('stateQueryStore', () => { const queries = ref(new Set()); - const route = computed(() => - Array.from(queries.value).find((query) => query?.fullPath) - ); + function add(query) { queries.value.add(query); return query; @@ -29,6 +27,5 @@ export const useStateQueryStore = defineStore('stateQueryStore', () => { remove, queries, reset, - route, }; });