Skip to content

Commit ce9b42b

Browse files
committed
feat: adds quote refetch interval
1 parent cad76df commit ce9b42b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/thirdweb/src/react/core/hooks/pay/useBuyWithCryptoQuote.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function useBuyWithCryptoQuote(
8080
return useQuery({
8181
...queryParams,
8282
queryKey: ["buyWithCryptoQuote", params],
83+
refetchInterval: 30_000,
8384
queryFn: () => {
8485
if (!params) {
8586
throw new Error("Swap params are required");

0 commit comments

Comments
 (0)