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