Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/pages/ethereum/data-availability/custody/IndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ export function IndexPage(): JSX.Element {
let contextLabel: string;
switch (currentLevel.type) {
case 'window':
contextLabel = `Last ${WINDOW_DAYS} Days (UTC)`;
contextLabel = `Last 12 Hours (UTC)`;
break;
case 'day': {
const labelDate = new Date(currentLevel.date + 'T00:00:00Z');
Expand Down Expand Up @@ -722,9 +722,9 @@ export function IndexPage(): JSX.Element {

switch (currentLevel.type) {
case 'window': {
// Full 19-day window
// Last 12 hours (not full window - too expensive to query)
timeRange = {
timeStart: now - WINDOW_DAYS * SECONDS_PER_DAY,
timeStart: now - 12 * SECONDS_PER_HOUR,
timeEnd: now,
};
break;
Expand Down
Loading