build(web-tanstack): swap deps + use TanstackTrpcProvider against shared backend
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { Outlet, createRootRoute } from "@tanstack/react-router";
|
||||
import { ApiProvider } from "@repo/api-client";
|
||||
import { TanstackTrpcProvider } from "@repo/core-trpc/tanstack";
|
||||
|
||||
export const Route = createRootRoute({
|
||||
component: () => (
|
||||
<ApiProvider trpcUrl="http://localhost:3000/api/trpc">
|
||||
<TanstackTrpcProvider trpcUrl="http://localhost:3000/api/trpc">
|
||||
<Outlet />
|
||||
</ApiProvider>
|
||||
</TanstackTrpcProvider>
|
||||
),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user