From 1ecce6f91687bb2ddc1031371a98877f979dd6d8 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 1 Aug 2024 18:43:31 +0200 Subject: [PATCH] bugfixing --- src/routes/stocks/[tickerID]/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/stocks/[tickerID]/+layout.svelte b/src/routes/stocks/[tickerID]/+layout.svelte index fb69f426..cc4e3ced 100644 --- a/src/routes/stocks/[tickerID]/+layout.svelte +++ b/src/routes/stocks/[tickerID]/+layout.svelte @@ -12,7 +12,7 @@ export let data; - $realtimePrice = null; + $: $realtimePrice = data?.getStockQuote?.price?.toFixed(2);