Skip to content

Commit

Permalink
fix(swap): create swap
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Oct 19, 2023
1 parent 6a6f544 commit 62800b0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const CreateOrder = () => {
const {orderData, unsignedTxChanged, poolPairsChanged} = useSwap()
const wallet = useSelectedWallet()
const {track} = useMetrics()
const {openModal, closeModal} = useModal()
const {openModal} = useModal()
const {
sellQuantity: {isTouched: isSellTouched},
buyQuantity: {isTouched: isBuyTouched},
Expand Down Expand Up @@ -73,7 +73,6 @@ export const CreateOrder = () => {
onSuccess: (yoroiUnsignedTx) => {
unsignedTxChanged(yoroiUnsignedTx)
swap()
closeModal()
},
onError: (error) => {
if (error instanceof NotEnoughMoneyToSendError) {
Expand Down

0 comments on commit 62800b0

Please sign in to comment.