Skip to content

Commit c6562bb

Browse files
committed
fix(web): update-fund-hook
1 parent fa2520c commit c6562bb

File tree

1 file changed

+2
-1
lines changed
  • web/src/pages/Cases/CaseDetails/Appeal/Shutter

1 file changed

+2
-1
lines changed

web/src/pages/Cases/CaseDetails/Appeal/Shutter/Fund.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import { REFETCH_INTERVAL } from "consts/index";
1111
import {
1212
useSimulateDisputeKitGatedShutterFundAppeal,
1313
useSimulateDisputeKitShutterFundAppeal,
14+
useWriteDisputeKitGatedShutterFundAppeal,
1415
useWriteDisputeKitShutterFundAppeal,
1516
} from "hooks/contracts/generated";
1617
import { useSelectedOptionContext, useFundingContext, useCountdownContext } from "hooks/useClassicAppealContext";
@@ -88,7 +89,7 @@ const useFundAppeal = (parsedAmount: bigint, isGated: boolean, insufficientBalan
8889
args: [BigInt(id ?? 0), BigInt(selectedOption?.id ?? 0)],
8990
value: parsedAmount,
9091
});
91-
const { writeContractAsync: fundAppealGated } = useWriteDisputeKitShutterFundAppeal();
92+
const { writeContractAsync: fundAppealGated } = useWriteDisputeKitGatedShutterFundAppeal();
9293

9394
return isGated
9495
? {

0 commit comments

Comments
 (0)