File tree 1 file changed +2
-2
lines changed
dev-packages/e2e-tests/test-applications/nextjs-t3/src/trpc
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
'use client' ;
2
2
3
3
import { type QueryClient , QueryClientProvider } from '@tanstack/react-query' ;
4
- import { loggerLink , unstable_httpBatchStreamLink } from '@trpc/client' ;
4
+ import { loggerLink , httpBatchStreamLink } from '@trpc/client' ;
5
5
import { createTRPCReact } from '@trpc/react-query' ;
6
6
import { type inferRouterInputs , type inferRouterOutputs } from '@trpc/server' ;
7
7
import { useState } from 'react' ;
@@ -46,7 +46,7 @@ export function TRPCReactProvider(props: { children: React.ReactNode }) {
46
46
enabled : op =>
47
47
process . env . NODE_ENV === 'development' || ( op . direction === 'down' && op . result instanceof Error ) ,
48
48
} ) ,
49
- unstable_httpBatchStreamLink ( {
49
+ httpBatchStreamLink ( {
50
50
transformer : SuperJSON ,
51
51
url : getBaseUrl ( ) + '/api/trpc' ,
52
52
headers : ( ) => {
You can’t perform that action at this time.
0 commit comments