Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Sep 27, 2023
1 parent d0f14f8 commit 2e2ee7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/components/swapv2/LimitOrder/EditOrderModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export default function EditOrderModal({
)}
<CancelButtons
isEdit
order={order}
supportCancelGasless={supportCancelGasless}
loading={flowState.attemptingTxn}
cancelStatus={cancelStatus}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ const useRequestCancelOrder = ({
} else {
const { encodedData } = await getEncodeData({
orderIds: [order?.id].filter(Boolean) as number[],
isCancelAll,
}).unwrap()
await sendTransaction(encodedData, order?.contractAddress ?? '', { orderIds: newOrders })
}
Expand Down

0 comments on commit 2e2ee7d

Please sign in to comment.