rename function name

availability-list
Ryukemeister 2023-10-16 16:48:49 +05:30
parent b6030c321a
commit 6d514a27d7
1 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,7 @@ type Schedule = {
timezone: string | null; timezone: string | null;
}; };
export function ScheduleListItem({ export function Availability({
schedule, schedule,
isDeletable, isDeletable,
displayOptions, displayOptions,
@ -112,7 +112,6 @@ export function ScheduleListItem({
<DropdownMenuItem <DropdownMenuItem
className="min-w-40 focus:ring-muted" className="min-w-40 focus:ring-muted"
onClick={() => { onClick={() => {
console.log("hi");
if (!isDeletable) { if (!isDeletable) {
toast({ toast({
description: "You are required to have at least one schedule", description: "You are required to have at least one schedule",