import composables from nuxt/app

This commit is contained in:
Robert Soriano
2022-10-30 13:30:57 -07:00
parent a2275567e8
commit 5fb7a9d444

View File

@@ -5,9 +5,8 @@ import type {
} from '@trpc/server'
import { createFlatProxy, createRecursiveProxy } from '@trpc/server/shared'
import { hash } from 'ohash'
import { useAsyncData, useState } from 'nuxt/app'
import type { DecoratedProcedureRecord } from './types'
// @ts-ignore: nuxt internal
import { useAsyncData, useState } from '#app'
/**
* Calculates the key used for `useAsyncData` call