Skip to content

Commit

Permalink
Ajuste de tipo durationOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Neonhh committed Dec 15, 2024
1 parent b25df16 commit 764fc04
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ export default function CreateEventTypeForm({
}
};

const durationOptions = [
const durationOptions: Array<{ value: "minutes" | "hours" | "days"; label: string }> = [
{ value: "minutes", label: "Minutes" },
{ value: "hours", label: "Hours" },
{ value: "days", label: "Days" }
{ value: "days", label: "Days" },
];

return (
<Form
form={form}
Expand Down

0 comments on commit 764fc04

Please sign in to comment.