rename function name
parent
b6030c321a
commit
6d514a27d7
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue