Skip to content

Commit

Permalink
Update HomeVLCascade.js
Browse files Browse the repository at this point in the history
cbrianbet committed Aug 20, 2024
1 parent 53cd08a commit 20b8591
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/Home/HomeVLCascade.js
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ import * as currentOnArtSelectors from '../../selectors/CT/CurrentOnArt/currentO
import { formatNumber, roundNumber } from '../../utils/utils';
import DataCard from '../Shared/DataCard';
import moment from 'moment';
import { ETL_DAY } from '../../constants';

const HomeVLCascade = () => {
// const currentOnArt = useSelector(
@@ -15,7 +14,7 @@ const HomeVLCascade = () => {
const currentDate = moment();

// Check if the current date is before the 20th of the month
if (currentDate.date() < 21) {
if (currentDate.date() < 19) {
// If true, subtract 2 months
currentDate.subtract(2, 'months');
} else {

0 comments on commit 20b8591

Please sign in to comment.