ui fix
This commit is contained in:
parent
e33587bb6d
commit
2ba4ddb207
@ -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)
|
||||||
|
|
||||||
|
|||||||
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user