need help with currency select
on the individual coin page my currency selector works for changing from usd to nzd, gbp or aud. using the index signature thing for dynamic properties. the data from that data point looks like this:
market_data: {current_price: {
usd: 5,
aud: 7
}
}
but now im trying to make it the correct currency across the whole app including carousel, table etc but the data point which they use for price is a different one that doesn't have different currencies. it looks like this instead: current_price: 5 (only usd automatically)
bit confused about how to approach it, appreciate any advice.
2
2 comments
Ryan Hazlewood
5
need help with currency select
Developer Pro
skool.com/developerpro
Learn how to code. Make money. Have fun. Enjoy life.
Leaderboard (30-day)
powered by