diff --git a/src/lib/components/FailToDeliver.svelte b/src/lib/components/FailToDeliver.svelte index 04348f1e..26f76883 100644 --- a/src/lib/components/FailToDeliver.svelte +++ b/src/lib/components/FailToDeliver.svelte @@ -203,7 +203,7 @@ function findLowestAndHighestPrice(data, lastDateStr) { $: { - if($assetType === 'stock' ? $stockTicker :$etfTicker && typeof window !== 'undefined') { + if($assetType === 'stock' ? $stockTicker : $etfTicker && typeof window !== 'undefined') { isLoaded=false; const ticker = $assetType === 'stock' ? $stockTicker :$etfTicker const asyncFunctions = [ @@ -224,7 +224,6 @@ function findLowestAndHighestPrice(data, lastDateStr) { } } - let charNumber = $screenWidth < 640 ? 20 : 40; @@ -322,8 +321,8 @@ function findLowestAndHighestPrice(data, lastDateStr) {