We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af87dcb commit 0338a33Copy full SHA for 0338a33
apps/web/src/trpc-provider.tsx
@@ -7,16 +7,7 @@ import Cookies from "js-cookie"
7
import SuperJSON from "superjson"
8
9
export function TrpcProvider({ children }: { children: React.ReactNode }) {
10
- const [queryClient] = useState(
11
- () =>
12
- new QueryClient({
13
- defaultOptions: {
14
- queries: {
15
- staleTime: 5 * 60 * 1000,
16
- },
17
18
- })
19
- )
+ const [queryClient] = useState(() => new QueryClient())
20
const [trpcClient] = useState(() =>
21
trpc.createClient({
22
links: [
package.json
@@ -1,5 +1,5 @@
1
{
2
- "version": "0.9.20-beta.11",
+ "version": "0.9.20-beta.12",
3
"name": "letterspace",
4
"private": true,
5
"scripts": {
0 commit comments