Fix SSR in trpc invoices
This commit is contained in:
parent
14d25cc1ca
commit
b6050c0685
3 changed files with 22 additions and 28 deletions
|
@ -21,12 +21,12 @@
|
|||
"@material-ui/lab": "4.0.0-alpha.61",
|
||||
"@saleor/app-sdk": "0.27.1",
|
||||
"@saleor/macaw-ui": "^0.7.2",
|
||||
"@sentry/nextjs": "^7.31.1",
|
||||
"@tanstack/react-query": "^4.19.1",
|
||||
"@trpc/client": "^10.9.0",
|
||||
"@trpc/next": "^10.9.0",
|
||||
"@trpc/react-query": "^10.9.0",
|
||||
"@trpc/server": "^10.9.0",
|
||||
"@sentry/nextjs": "^7.36.0",
|
||||
"@tanstack/react-query": "^4.24.4",
|
||||
"@trpc/client": "^10.10.0",
|
||||
"@trpc/next": "^10.10.0",
|
||||
"@trpc/react-query": "^10.10.0",
|
||||
"@trpc/server": "^10.10.0",
|
||||
"@urql/exchange-auth": "^1.0.0",
|
||||
"@urql/exchange-multipart-fetch": "^1.0.1",
|
||||
"@web-std/file": "^3.0.2",
|
||||
|
@ -43,7 +43,7 @@
|
|||
"tiny-invariant": "^1.3.1",
|
||||
"urql": "^3.0.3",
|
||||
"usehooks-ts": "^2.9.1",
|
||||
"zod": "^3.19.1",
|
||||
"zod": "^3.20.2",
|
||||
"@saleor/apps-shared": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -56,14 +56,14 @@
|
|||
"@graphql-codegen/urql-introspection": "2.2.1",
|
||||
"@graphql-typed-document-node/core": "^3.1.1",
|
||||
"@types/node": "^18.8.1",
|
||||
"@types/react": "^18.0.21",
|
||||
"@types/react-dom": "^18.0.6",
|
||||
"@types/react": "^18.0.27",
|
||||
"@types/react-dom": "^18.0.10",
|
||||
"@types/rimraf": "^3.0.2",
|
||||
"@vitejs/plugin-react": "^3.0.0",
|
||||
"@vitest/coverage-c8": "^0.28.4",
|
||||
"jsdom": "^20.0.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "4.9.4",
|
||||
"typescript": "4.9.5",
|
||||
"vite": "^4.1.1",
|
||||
"vitest": "^0.28.4"
|
||||
},
|
||||
|
|
|
@ -32,5 +32,5 @@ export const trpcClient = createTRPCNext<AppRouter>({
|
|||
// queryClientConfig: { defaultOptions: { queries: { staleTime: 60 } } },
|
||||
};
|
||||
},
|
||||
ssr: true,
|
||||
ssr: false,
|
||||
});
|
||||
|
|
|
@ -119,15 +119,15 @@ importers:
|
|||
'@saleor/app-sdk': 0.27.1
|
||||
'@saleor/apps-shared': workspace:*
|
||||
'@saleor/macaw-ui': ^0.7.2
|
||||
'@sentry/nextjs': ^7.31.1
|
||||
'@tanstack/react-query': ^4.19.1
|
||||
'@trpc/client': ^10.9.0
|
||||
'@trpc/next': ^10.9.0
|
||||
'@trpc/react-query': ^10.9.0
|
||||
'@trpc/server': ^10.9.0
|
||||
'@sentry/nextjs': ^7.36.0
|
||||
'@tanstack/react-query': ^4.24.4
|
||||
'@trpc/client': ^10.10.0
|
||||
'@trpc/next': ^10.10.0
|
||||
'@trpc/react-query': ^10.10.0
|
||||
'@trpc/server': ^10.10.0
|
||||
'@types/node': ^18.8.1
|
||||
'@types/react': ^18.0.21
|
||||
'@types/react-dom': ^18.0.6
|
||||
'@types/react': ^18.0.27
|
||||
'@types/react-dom': ^18.0.10
|
||||
'@types/rimraf': ^3.0.2
|
||||
'@urql/exchange-auth': ^1.0.0
|
||||
'@urql/exchange-multipart-fetch': ^1.0.1
|
||||
|
@ -147,12 +147,12 @@ importers:
|
|||
react-hook-form: ^7.41.0
|
||||
rimraf: ^3.0.2
|
||||
tiny-invariant: ^1.3.1
|
||||
typescript: 4.9.4
|
||||
typescript: 4.9.5
|
||||
urql: ^3.0.3
|
||||
usehooks-ts: ^2.9.1
|
||||
vite: ^4.1.1
|
||||
vitest: ^0.28.4
|
||||
zod: ^3.19.1
|
||||
zod: ^3.20.2
|
||||
dependencies:
|
||||
'@material-ui/core': 4.12.4_5ndqzdd6t4rivxsukjv3i3ak2q
|
||||
'@material-ui/icons': 4.11.3_x54wk6dsnsxe7g7vvfmytp77te
|
||||
|
@ -200,7 +200,7 @@ importers:
|
|||
'@vitest/coverage-c8': 0.28.4_jsdom@20.0.3
|
||||
jsdom: 20.0.3
|
||||
rimraf: 3.0.2
|
||||
typescript: 4.9.4
|
||||
typescript: 4.9.5
|
||||
vite: 4.1.1_@types+node@18.13.0
|
||||
vitest: 0.28.4_jsdom@20.0.3
|
||||
|
||||
|
@ -9062,12 +9062,6 @@ packages:
|
|||
for-each: 0.3.3
|
||||
is-typed-array: 1.1.10
|
||||
|
||||
/typescript/4.9.4:
|
||||
resolution: {integrity: sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==}
|
||||
engines: {node: '>=4.2.0'}
|
||||
hasBin: true
|
||||
dev: true
|
||||
|
||||
/typescript/4.9.5:
|
||||
resolution: {integrity: sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==}
|
||||
engines: {node: '>=4.2.0'}
|
||||
|
|
Loading…
Reference in a new issue