update docs

This commit is contained in:
wobsoriano
2022-11-24 12:52:17 -08:00
parent 68003e9c3e
commit d4f3942fff

View File

@@ -7,9 +7,6 @@ title: Headers
We can use the built-in `useRequestHeaders` to access/pass headers to any future internal requests during SSR.
```ts [plugins/client.ts]
import { httpBatchLink, createTRPCProxyClient } from '@trpc/client'
import type { AppRouter } from '@/server/trpc/routers'
export default defineNuxtPlugin(() => {
const headers = useRequestHeaders()