This commit is contained in:
MuslemRahimi 2024-12-03 20:46:06 +01:00
parent 1347e9864c
commit ad366052c0

View File

@ -39,7 +39,7 @@
if ($stockTicker && typeof window !== "undefined") { if ($stockTicker && typeof window !== "undefined") {
info = data?.getStockDeck; info = data?.getStockDeck;
ipoDate = ipoDate =
info?.ipoDate !== null info?.ipoDate !== null && info?.ipoDate?.length > 0
? new Date(info?.ipoDate)?.toLocaleString("en-US", { ? new Date(info?.ipoDate)?.toLocaleString("en-US", {
month: "short", month: "short",
day: "numeric", day: "numeric",