mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
hot-reload errors
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
"use client";
|
||||
import { useState } from "react";
|
||||
import { CalendarMonthModel } from "./calendarMonthUtils";
|
||||
import { DayOfWeek, LocalCourse } from "@/models/local/localCourse";
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
"use client";
|
||||
|
||||
export default function Day({ day }: { day?: Date }) {
|
||||
const classes = "border rounded rounded-3 p-2 pb-4 m-1 ";
|
||||
if (!day) return <div className={classes + ""}></div>;
|
||||
if (!day) return <div className={classes + ""}>d</div>;
|
||||
|
||||
return <div className={classes + " bg-slate-900"}>{day.getDate()}</div>;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
"use client";
|
||||
export interface CalendarMonthModel {
|
||||
year: number;
|
||||
month: number;
|
||||
@@ -17,7 +16,7 @@ const weeksInMonth = (year: number, month: number): number => {
|
||||
return weeks;
|
||||
};
|
||||
|
||||
export const createCalendarMonth = (
|
||||
const createCalendarMonth = (
|
||||
year: number,
|
||||
month: number
|
||||
): CalendarMonthModel => {
|
||||
|
||||
Reference in New Issue
Block a user