fix: unable to resolve nuxt instance

This commit is contained in:
Robert Soriano
2022-05-23 10:31:48 -07:00
parent c1c4e67694
commit 959b370729
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ import type {
import type { ProcedureRecord, inferHandlerInput, inferProcedureInput, inferProcedureOutput } from '@trpc/server'
import type { TRPCClientErrorLike } from '@trpc/client'
import { objectHash } from 'ohash'
import { useAsyncData, useState } from '#app'
import { useAsyncData, useNuxtApp, useState } from '#app'
// @ts-expect-error: Resolved by Nuxt
import type { router } from '~/server/trpc'