diff --git a/src/components/swapv2/LimitOrder/ActionButtonLimitOrder.tsx b/src/components/swapv2/LimitOrder/ActionButtonLimitOrder.tsx index 087a6821a3..1c78494d72 100644 --- a/src/components/swapv2/LimitOrder/ActionButtonLimitOrder.tsx +++ b/src/components/swapv2/LimitOrder/ActionButtonLimitOrder.tsx @@ -54,7 +54,8 @@ export default function ActionButtonLimitOrder({ onWrapToken: () => Promise showPreview: () => void editOrderInfo?: EditOrderInfo -}) { +}): any { + // todo any const { isEdit, renderCancelButtons } = editOrderInfo || {} const disableBtnApproved = approval === ApprovalState.PENDING ||