Skip to content

Commit

Permalink
added right converted
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisZerbib committed Jun 2, 2024
1 parent b67dbd7 commit 16110b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PriceConverter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const PriceConverter: React.FC = () => {
useEffect(() => {
const getInitialRate = async () => {
try {
const rate = await fetchInitialExchangeRate("USDT", "TON");
const rate = await fetchInitialExchangeRate("TON", "USDT");
setTonUsdtRate(rate);
} catch (error) {
console.error("Failed to fetch initial exchange rate:", error);
Expand Down

0 comments on commit 16110b1

Please sign in to comment.