Skip to content

Commit

Permalink
Merge pull request #5 from Necmttn/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
janek26 authored Oct 25, 2023
2 parents c47360f + 1d1b0bb commit 5c8158b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const windowClient = createTRPCProxyClient<AppRouter>({
import { relay } from 'trpc-browser/relay';

const port = chrome.runtime.connect();
relay(port, window);
relay(window, port);
```

## 🕸️ Example usage for windows
Expand Down

0 comments on commit 5c8158b

Please sign in to comment.