Skip to content

Commit

Permalink
Merge pull request #782 from invariant-labs/fix-global-price
Browse files Browse the repository at this point in the history
fix fetch global price on new position
  • Loading branch information
wojciech-cichocki authored Nov 19, 2024
2 parents 7fea87a + f6ff75a commit 7503538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/NewPositionWrapper/NewPositionWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ export const NewPositionWrapper: React.FC<IProps> = ({
return
}

getJupTokensRatioPrice(tokenB.toString(), tokenA.toString())
getJupTokensRatioPrice(tokenA.toString(), tokenB.toString())
.then(data => setGlobalPrice(data.price))
.catch(() => setGlobalPrice(undefined))
}
Expand Down

0 comments on commit 7503538

Please sign in to comment.