diff options
| author | secondl1ght <[email protected]> | 2022-09-16 12:11:29 -0600 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-09-16 12:11:29 -0600 |
| commit | d8b4796a61747d5f58edc4bccdd0408e915b025d (patch) | |
| tree | 9a81cf494885979e5a9a471f47099ea9cf2fade4 /src | |
| parent | a941bfe92b0c96d98ca5a046f81166e15fcfb004 (diff) | |
| parent | 50df815dfbdd3d9188bcd8e14631686dedf7bbff (diff) | |
| download | coinos-ui-d8b4796a61747d5f58edc4bccdd0408e915b025d.tar.gz coinos-ui-d8b4796a61747d5f58edc4bccdd0408e915b025d.zip | |
Merge branch 'master' of github.com:coinos/coinos-ui-v2
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/LocationsMap.svelte | 6 | ||||
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 2 |
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); |
