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) {
- Using the latest FTD data, we divide it with the monthly average volume to determine that less than - {weightedFTD < 0.01 ? '< 0.01' : weightedFTD}% of shares failed to deliver. + Using the latest FTD data, we divide it with the monthly average volume to determine that + {weightedFTD < 0.01 ? 'less than < 0.01' : weightedFTD}% of shares failed to deliver.