Skip to content

Commit

Permalink
fix quote comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboydiamonds committed Sep 23, 2024
1 parent 8627728 commit 8dbadb9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export const useConfirmNewBridgePrice = () => {
bridgeQuote,
previousBridgeQuote,
hasSameSelectionsAsPreviousQuote,
isPendingConfirmChange,
])

const requestUserConfirmChange = (previousQuote: BridgeQuote) => {
Expand Down Expand Up @@ -120,7 +119,7 @@ const calculateOutputRelativeDifference = (
}

const currentOutput = parseFloat(currentQuote.outputAmountString)
const previousOutput = parseFloat(currentQuote.outputAmountString)
const previousOutput = parseFloat(previousQuote.outputAmountString)

if (previousOutput === 0) {
return null
Expand Down

0 comments on commit 8dbadb9

Please sign in to comment.