diff --git a/src/js/main.js b/src/js/main.js index ae44962..182e9ec 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -62,7 +62,8 @@ document.addEventListener('DOMContentLoaded', function () { } }); - // Fetch updated exchange rates every 5 seconds + // Fetch updated exchange rates immediately, then every 5 seconds + fetchUpdatedExchangeRates(); setInterval(fetchUpdatedExchangeRates, 5000); });