ui fix
This commit is contained in:
parent
e33587bb6d
commit
2ba4ddb207
@ -22,7 +22,7 @@ function getLastDate(dateString) {
|
||||
|
||||
// Check if it is open
|
||||
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 {
|
||||
const dayOfWeek = date.getDay(); // 0 (Sunday) to 6 (Saturday)
|
||||
|
||||
|
||||
@ -35,6 +35,8 @@ userRegion.subscribe(value => {
|
||||
|
||||
|
||||
export const load = async ({parent}) => {
|
||||
|
||||
checkMarketHour()
|
||||
const getDarkPoolFlow = async () => {
|
||||
let output;
|
||||
const data = await parent();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user