Skip to content

Commit

Permalink
Merge pull request #174 from map3xyz/fix/binance-pay-amount
Browse files Browse the repository at this point in the history
fix(binance): set pay amount
  • Loading branch information
plondon authored Mar 30, 2023
2 parents fddc8a7 + 76afebc commit 5d7a9e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/steps/EnterAmount/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,15 @@ const EnterAmountForm: React.FC<{ price: number }> = ({ price }) => {

switch (state.method?.value) {
case 'binance-pay':
dispatch({
payload: amount + ' ' + state.asset?.symbol,
type: 'SET_TX_DISPLAY_AMOUNT',
});
dispatch({
payload: amount,
type: 'SET_TX_AMOUNT',
});

return handleBinancePayTransaction();
case 'isCoinbaseWallet':
case 'isWalletConnect':
Expand Down

0 comments on commit 5d7a9e7

Please sign in to comment.