aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/LocationsMap.svelte6
-rw-r--r--src/routes/invoice/[id]/+page.svelte2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte
index bf2e4339..699ea852 100644
--- a/src/components/LocationsMap.svelte
+++ b/src/components/LocationsMap.svelte
@@ -34,16 +34,12 @@
});
leaflet
- .tileLayer('http://{s}tile.stamen.com/toner/{z}/{x}/{y}.png', {
- // leaflet.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
+ .tileLayer('https://coinos.io/toner/{z}/{x}/{y}.png', {
maxZoom: 19,
subdomains: ['', 'a.', 'b.', 'c.', 'd.']
})
.addTo(map);
- // let tonerLayer = new L.StamenTileLayer("toner");
- // map.addLayer(tonerLayer);
-
leaflet
.marker([49.27034, -123.141373])
.addTo(map)
diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte
index 2b2def13..6397d4c0 100644
--- a/src/routes/invoice/[id]/+page.svelte
+++ b/src/routes/invoice/[id]/+page.svelte
@@ -75,7 +75,7 @@
$: totalAmountFormatted = f(amountFiat + parseFloat(tipAmount), currency);
- const amountFormatted = f(amount, currency);
+ const amountFormatted = s(amount);
$: invoiceAmountFiatFormatted = f(amountFiat, currency);