diff --git a/src/public/scripts/geolocation.js b/src/public/scripts/geolocation.js index 82c6983..26f2e1a 100644 --- a/src/public/scripts/geolocation.js +++ b/src/public/scripts/geolocation.js @@ -54,7 +54,7 @@ function switchButton(clickedButton) { } function updateExchange(exRate) { - document.getElementById("exchange1").innerHTML = "$1.00 = $" +`${(1 * exRate).toFixed(2)}`; + document.getElementById("exchange").innerHTML = "$1.00 = $" +`${(1 * exRate).toFixed(2)}`; } async function getLatestExchange(position) { diff --git a/src/views/dashboard.ejs b/src/views/dashboard.ejs index 5bcdd79..88ed427 100644 --- a/src/views/dashboard.ejs +++ b/src/views/dashboard.ejs @@ -2,7 +2,6 @@ <%- include("./partials/header") %>
-

Welcome: <%= user.name %>

diff --git a/src/views/partials/header.ejs b/src/views/partials/header.ejs index f872576..f48549f 100644 --- a/src/views/partials/header.ejs +++ b/src/views/partials/header.ejs @@ -22,7 +22,7 @@

-

+