Chris Andrews• 170
@ChrisAndrewsDev
Posted
It turns out the API call isn't happening on first page load too! Any ideas?
0
Rodrigo Molina• 250
@s0alken
Posted
@ChrisAndrewsDev Hello, it is because you are calling getQuote() only when the button is clicked, I called getQuote() in line 10 (just after the declaration) and it worked.
Marked as helpful
1