Skip to content

Commit

Permalink
feat: update container to pass skipRedirection param to cancel order
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Oct 31, 2024
1 parent fc18c3c commit 65f93f5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const mapDispatch = (dispatch: MapDispatch): MapDispatchProps => ({
onCreateOrder: (nft, price, expiresAt) => dispatch(createOrderRequest(nft, price, expiresAt)),
onFetchAuthorizations: (authorizations: Authorization[]) => dispatch(fetchAuthorizationsRequest(authorizations)),
onUpsertContracts: (contracts: Contract[]) => dispatch(upsertContracts(contracts)),
onCancelOrder: (order, nft) => dispatch(cancelOrderRequest(order, nft))
onCancelOrder: (order, nft, skipRedirection = false) => dispatch(cancelOrderRequest(order, nft, skipRedirection))
})

export default connect(mapState, mapDispatch)(SellModal)

0 comments on commit 65f93f5

Please sign in to comment.