changed ts to js
This commit is contained in:
10
src/utils/trpc.js
Normal file
10
src/utils/trpc.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import { httpBatchLink, createTRPCProxyClient } from "@trpc/client";
|
||||
import { CONFIG } from "@/config";
|
||||
|
||||
export const client = createTRPCProxyClient({
|
||||
links: [
|
||||
httpBatchLink({
|
||||
url: CONFIG.api_url,
|
||||
}),
|
||||
],
|
||||
});
|
||||
Reference in New Issue
Block a user