mirror of
https://github.com/ArthurDanjou/trpc-nuxt.git
synced 2026-01-28 02:40:33 +01:00
import composables from nuxt/app
This commit is contained in:
@@ -5,9 +5,8 @@ import type {
|
|||||||
} from '@trpc/server'
|
} from '@trpc/server'
|
||||||
import { createFlatProxy, createRecursiveProxy } from '@trpc/server/shared'
|
import { createFlatProxy, createRecursiveProxy } from '@trpc/server/shared'
|
||||||
import { hash } from 'ohash'
|
import { hash } from 'ohash'
|
||||||
|
import { useAsyncData, useState } from 'nuxt/app'
|
||||||
import type { DecoratedProcedureRecord } from './types'
|
import type { DecoratedProcedureRecord } from './types'
|
||||||
// @ts-ignore: Nuxt internal
|
|
||||||
import { useAsyncData, useState } from '#imports'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Calculates the key used for `useAsyncData` call
|
* Calculates the key used for `useAsyncData` call
|
||||||
|
|||||||
Reference in New Issue
Block a user