🚸 (variables) Allow null values in variable list
This commit is contained in:
@@ -2,6 +2,7 @@ import { httpBatchLink, loggerLink } from '@trpc/client'
|
||||
import { createTRPCNext } from '@trpc/next'
|
||||
import type { AppRouter } from '../helpers/server/routers/v1/trpcRouter'
|
||||
import superjson from 'superjson'
|
||||
import { env } from '@typebot.io/lib'
|
||||
|
||||
const getBaseUrl = () =>
|
||||
typeof window !== 'undefined' ? '' : process.env.NEXTAUTH_URL
|
||||
@@ -24,3 +25,7 @@ export const trpc = createTRPCNext<AppRouter>({
|
||||
},
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
export const defaultQueryOptions = {
|
||||
refetchOnMount: env('E2E_TEST') === 'true',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user