bugfixing
This commit is contained in:
parent
27bcb9c18b
commit
4b479f06ad
@ -333,7 +333,6 @@
|
||||
intervalId = setInterval(checkChart, 0);
|
||||
try {
|
||||
output = [...data?.getOneDayPrice] ?? [];
|
||||
|
||||
oneDayPrice = output?.map((item) => ({
|
||||
time: Date?.parse(item?.time + "Z") / 1000,
|
||||
open: item?.open !== null ? item?.open : NaN,
|
||||
@ -594,7 +593,9 @@
|
||||
|
||||
Promise.all(asyncFunctions)
|
||||
.then((results) => {
|
||||
initializePrice();
|
||||
setTimeout(() => {
|
||||
initializePrice();
|
||||
}, 100);
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("An error occurred:", error);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user