feat: less confusing permit2 flow #26205
Annotations
4 errors
Type Check:
src/components/MultiHopTrade/components/TradeConfirm/hooks/useStepperSteps.tsx#L72
Argument of type '{ firstHopAllowanceApproval: ApprovalExecutionMetadata; firstHopPermit2: Omit<ApprovalExecutionMetadata, "txHash" | "isInitiallyRequired"> & { ...; }; ... 4 more ...; isMultiHopTrade: boolean | undefined; }' is not assignable to parameter of type 'StepperStepParams'.
|
Type Check:
src/components/MultiHopTrade/components/TradeConfirm/hooks/useStepperSteps.tsx#L73
Argument of type '{ firstHopAllowanceApproval: ApprovalExecutionMetadata; firstHopPermit2: Omit<ApprovalExecutionMetadata, "txHash" | "isInitiallyRequired"> & { ...; }; ... 4 more ...; isMultiHopTrade: boolean | undefined; }' is not assignable to parameter of type 'StepperStepParams'.
|
Type Check:
src/components/MultiHopTrade/components/TradeConfirm/hooks/useStepperSteps.tsx#L84
Argument of type '{ currentHopIndex: SupportedTradeQuoteStepIndex; hopExecutionState: HopExecutionState; firstHopAllowanceApproval: ApprovalExecutionMetadata; ... 5 more ...; isMultiHopTrade: boolean | undefined; }' is not assignable to parameter of type 'StepperStepParams & { currentHopIndex: number; hopExecutionState: HopExecutionState; }'.
|
Type Check
Process completed with exit code 2.
|
Loading