This commit is contained in:
MuslemRahimi 2024-07-10 16:16:59 +02:00
parent e33587bb6d
commit 2ba4ddb207
2 changed files with 3 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function getLastDate(dateString) {
// Check if it is open // Check if it is open
if ($isOpen) { if ($isOpen) {
return date.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' }); return date?.toLocaleDateString('en-US', { month: 'short', day: 'numeric', year: 'numeric' });
} else { } else {
const dayOfWeek = date.getDay(); // 0 (Sunday) to 6 (Saturday) const dayOfWeek = date.getDay(); // 0 (Sunday) to 6 (Saturday)

View File

@ -35,6 +35,8 @@ userRegion.subscribe(value => {
export const load = async ({parent}) => { export const load = async ({parent}) => {
checkMarketHour()
const getDarkPoolFlow = async () => { const getDarkPoolFlow = async () => {
let output; let output;
const data = await parent(); const data = await parent();