From e9c08b65c306f55a29882981b61dcc35e4e3e8a3 Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 23 Aug 2023 19:44:14 +0200 Subject: [PATCH] Update README.md fix imports of createTRPCProxyClient --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5fa88e5..c2062db 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ export const chromeClient = createTRPCProxyClient({ ```typescript // inpage.ts -import { createTRPCClient } from '@trpc/client'; +import { createTRPCProxyClient } from '@trpc/client'; import { windowLink } from 'trpc-browser/link'; import type { AppRouter } from './background'; @@ -138,7 +138,7 @@ createWindowHandler({ **2. Add a `windowLink` or `popupLink` to the client** ```typescript -import { createTRPCClient } from '@trpc/client'; +import { createTRPCProxyClient } from '@trpc/client'; import { popupLink, windowLink } from 'trpc-browser/link'; import type { AppRouter } from './main';