Press n or j to go to the next uncovered block, b, p or k for the previous block.
import { isSameMonth, subMonths } from "date-fns" export const isPrevMonth = (thisMonth, date) => isSameMonth(subMonths(thisMonth, 1), date)