renew commit snapshot

This commit is contained in:
taDuc
2026-05-03 19:33:33 +07:00
parent fca188f0be
commit 34a5c3d041
18 changed files with 381 additions and 371 deletions
+2 -1
View File
@@ -12,6 +12,7 @@ import {
} from "@fullcalendar/core";
import { useModal } from "@/hooks/useModal";
import { Modal } from "@/components/ui/modal";
import { newId } from "@/uhm/lib/id";
interface CalendarEvent extends EventInput {
extendedProps: {
@@ -99,7 +100,7 @@ const Calendar: React.FC = () => {
} else {
// Add new event
const newEvent: CalendarEvent = {
id: Date.now().toString(),
id: newId(),
title: eventTitle,
start: eventStartDate,
end: eventEndDate,