From 1490790edc4d2ef117fedae160fa5ad50da8d69e Mon Sep 17 00:00:00 2001 From: Robert Soriano Date: Sun, 30 Oct 2022 14:24:39 -0700 Subject: [PATCH] import composables from nuxt/app --- src/client/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/index.ts b/src/client/index.ts index 6606899..0c87ee3 100644 --- a/src/client/index.ts +++ b/src/client/index.ts @@ -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 '#imports' /** * Calculates the key used for `useAsyncData` call