fix/ now assets display the location currency OR CAD as default

This commit is contained in:
nicoagostini committed 2025-05-20 16:45:49 -07:00
1 parent 08397a1c89
commit c0174c2b22
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@
</div>
<div>
<h3><strong>
$<%= asset.value.toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}) %>
<%- new Intl.NumberFormat('en-US', { style: 'currency', currency: geoData.currency ? geoData.currency : 'CAD' }).format(asset.value) %>
</strong></h3>
</div>
</div>