Skip to content

Commit 0338a33

Browse files
committed
bug fix
1 parent af87dcb commit 0338a33

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

apps/web/src/trpc-provider.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,7 @@ import Cookies from "js-cookie"
77
import SuperJSON from "superjson"
88

99
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-
)
10+
const [queryClient] = useState(() => new QueryClient())
2011
const [trpcClient] = useState(() =>
2112
trpc.createClient({
2213
links: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.9.20-beta.11",
2+
"version": "0.9.20-beta.12",
33
"name": "letterspace",
44
"private": true,
55
"scripts": {

0 commit comments

Comments
 (0)