diff options
Diffstat (limited to 'apps/browser-extension/src/utils/providers.tsx')
| -rw-r--r-- | apps/browser-extension/src/utils/providers.tsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/browser-extension/src/utils/providers.tsx b/apps/browser-extension/src/utils/providers.tsx index d20f2512..7b14b22c 100644 --- a/apps/browser-extension/src/utils/providers.tsx +++ b/apps/browser-extension/src/utils/providers.tsx @@ -1,10 +1,11 @@ +import { useEffect, useState } from "react"; import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { httpBatchLink } from "@trpc/client"; -import { useEffect, useState } from "react"; -import { api } from "./trpc"; -import usePluginSettings, { getPluginSettings } from "./settings"; import superjson from "superjson"; +import usePluginSettings, { getPluginSettings } from "./settings"; +import { api } from "./trpc"; + function getTRPCClient(address: string) { return api.createClient({ links: [ |
