Skip to content

Commit

Permalink
fix: import nuxt composables from #imports (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 8, 2023
1 parent d3e38aa commit dcfed70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/useContentSearch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Ref } from 'vue';
import { useQuery } from '@tanstack/vue-query';
import MeiliSearch from 'meilisearch';
import { useRuntimeConfig } from '#app';
import { useRuntimeConfig } from '#imports';

import { ContentMetadata } from '@/domain';

Expand Down
2 changes: 1 addition & 1 deletion plugins/vue-query.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { DehydratedState, VueQueryPluginOptions } from '@tanstack/vue-query';
import { VueQueryPlugin, QueryClient, hydrate, dehydrate } from '@tanstack/vue-query';
import { useState } from '#app';
import { useState } from '#imports';

export default defineNuxtPlugin(nuxt => {
const vueQueryState = useState<DehydratedState | null>('vue-query');
Expand Down

0 comments on commit dcfed70

Please sign in to comment.