From 1d1b0bbcfeb277ad6ea582ce2105a7372f20f9a9 Mon Sep 17 00:00:00 2001 From: Neco Date: Fri, 7 Jul 2023 12:01:51 +0700 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5fa88e5..65aadc5 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ export const windowClient = createTRPCProxyClient({ import { relay } from 'trpc-browser/relay'; const port = chrome.runtime.connect(); -relay(port, window); +relay(window, port); ``` ## 🕸️ Example usage for windows