Remove css bloat

This commit is contained in:
2025-06-03 07:08:39 +03:00
parent c83e4ff00b
commit 069fff7294
2 changed files with 2 additions and 9 deletions

View File

@@ -2,8 +2,6 @@ import { JSX, useEffect, useState } from "react";
import styles from "./Calendar.module.css";
import { getMonthName, daysInMonth } from "../utils/dateUtils";
const generateFirstWeekPadding = (month: number) => {
const firstDay = new Date(new Date().getFullYear(), month, 1).getDay();
const padding = Array.from({ length: firstDay === 0 ? 6 : firstDay - 1 }, (_, index) => (