Skip to content

Commit

Permalink
fix(app): disable fetch futures fee (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifuChen authored Sep 20, 2023
1 parent cbb4bb2 commit cbd7905
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/app/src/state/futures/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit cbd7905

Please sign in to comment.