From 0825904b6fe57a3da27fd73578785cb01ca17251 Mon Sep 17 00:00:00 2001 From: aunali8812 Date: Tue, 24 Feb 2026 23:22:45 +0500 Subject: [PATCH] fix excessive calls on create campaign page to rpc --- src/common/contracts/core/sybil-resistance/hooks.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/common/contracts/core/sybil-resistance/hooks.ts b/src/common/contracts/core/sybil-resistance/hooks.ts index c22139a3..b9db189f 100644 --- a/src/common/contracts/core/sybil-resistance/hooks.ts +++ b/src/common/contracts/core/sybil-resistance/hooks.ts @@ -11,4 +11,10 @@ export const useIsHuman = ({ enabled = true, accountId }: ByAccountId & Conditio ([_queryKeyHead, accountIdKey]) => !IS_CLIENT ? undefined : contractClient.is_human({ account_id: accountIdKey }), + + { + revalidateIfStale: false, + revalidateOnFocus: false, + revalidateOnReconnect: false, + }, );