From 4fe1d0f312df91122f0689d628ba65f5b4e33780 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Wed, 7 Aug 2024 18:14:45 +0200 Subject: [PATCH] ui fix --- src/lib/components/AnalystEstimate.svelte | 26 ++++++++++----------- src/lib/components/SentimentAnalysis.svelte | 24 ++++--------------- src/lib/components/ShareHolders.svelte | 4 ++-- src/lib/components/VaR.svelte | 8 +++---- 4 files changed, 24 insertions(+), 38 deletions(-) diff --git a/src/lib/components/AnalystEstimate.svelte b/src/lib/components/AnalystEstimate.svelte index b87b6372..b1f109fa 100644 --- a/src/lib/components/AnalystEstimate.svelte +++ b/src/lib/components/AnalystEstimate.svelte @@ -61,7 +61,7 @@ const getAnalystEstimate = async (ticker) => { } else { const postData = {'ticker': ticker}; - // make the POST request to the endpoint + const response = await fetch(data?.apiURL + '/analyst-estimate', { method: 'POST', headers: { @@ -217,10 +217,10 @@ $: {