From cbd7905784958491cfa3c37da73b7eac1480deba Mon Sep 17 00:00:00 2001 From: leifu Date: Wed, 20 Sep 2023 23:37:46 +0300 Subject: [PATCH] fix(app): disable fetch futures fee (#985) --- packages/app/src/state/futures/hooks.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/app/src/state/futures/hooks.ts b/packages/app/src/state/futures/hooks.ts index abd7e136c..867fc6a44 100644 --- a/packages/app/src/state/futures/hooks.ts +++ b/packages/app/src/state/futures/hooks.ts @@ -209,16 +209,6 @@ export const useFetchStakeMigrateData = () => { useFetchAction(fetchStakeMigrateData, { dependencies: [networkId, wallet], }) - - useFetchAction(() => fetchFuturesFees({ start, end }), { - dependencies: [networkId, start, end], - disabled: !networkSupportsStaking, - }) - - useFetchAction(() => fetchFuturesFeesForAccount({ start, end }), { - dependencies: [networkId, wallet, start, end], - disabled: !wallet || !networkSupportsStaking, - }) } export const useFetchReferralData = () => {