Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
ericboucher committed Jan 15, 2025
1 parent 42510fa commit d0fa473
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions frontend/src/components/MapView/DateSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ const DateSelector = memo(() => {
);
}, [AAAvailableDates, panelTab, truncatedLayers]);

// eslint-disable-next-line no-console
console.log({ selectableDates });

const updateStartDate = useCallback(
(date: Date, isUpdatingHistory: boolean) => {
if (!isUpdatingHistory) {
Expand Down Expand Up @@ -400,10 +397,7 @@ const DateSelector = memo(() => {
isUpdatingHistory: boolean,
) => {
const selectedIndex = findDateIndex(availableDates, date);
// eslint-disable-next-line no-console
console.log('setDatePosition inc/decrement', increment);
// eslint-disable-next-line no-console
console.log({ selectedIndex });

if (availableDates[selectedIndex + increment]) {
updateStartDate(
new Date(availableDates[selectedIndex + increment]),
Expand Down

0 comments on commit d0fa473

Please sign in to comment.