Skip to content

Commit 4faa5fd

Browse files
authored
Merge pull request #6 from grmkris/master-1
Update README.md
2 parents 5c8158b + e9c08b6 commit 4faa5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const chromeClient = createTRPCProxyClient<AppRouter>({
9191

9292
```typescript
9393
// inpage.ts
94-
import { createTRPCClient } from '@trpc/client';
94+
import { createTRPCProxyClient } from '@trpc/client';
9595
import { windowLink } from 'trpc-browser/link';
9696

9797
import type { AppRouter } from './background';
@@ -138,7 +138,7 @@ createWindowHandler({
138138
**2. Add a `windowLink` or `popupLink` to the client**
139139

140140
```typescript
141-
import { createTRPCClient } from '@trpc/client';
141+
import { createTRPCProxyClient } from '@trpc/client';
142142
import { popupLink, windowLink } from 'trpc-browser/link';
143143

144144
import type { AppRouter } from './main';

0 commit comments

Comments
 (0)