remove redudant line

This commit is contained in:
MuslemRahimi 2024-07-25 23:13:59 +02:00
parent 1e9260777a
commit cc701e007b

View File

@ -34,11 +34,12 @@ let apiKey = import.meta.env.VITE_STOCKNEAR_API_KEY;
let prePostData = {};
let similarstock = [];
let topETFHolder = [];
let previousClose = data?.getStockQuote?.previousClose;
let marketMoods = {}
let taRating = {};
let communitySentiment = {};
$: previousClose = data?.getStockQuote?.previousClose;
//============================================//
let chart = null;
@ -683,7 +684,6 @@ function changeChartType() {
fairPrice = data?.getFairPrice;
stockDeck = data?.getStockDeck;
correlationList = data?.getCorrelation?.correlation;
previousClose = data?.getStockQuote?.previousClose;
marketMoods = data?.getBullBearSay;
taRating = data?.getStockTARating;
communitySentiment = data?.getCommunitySentiment;
@ -693,7 +693,6 @@ function changeChartType() {
//previousClose = stockDeck?.at(0)?.previousClose;
const asyncFunctions = [
getPrePostQuote(),
];