Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
haiphucnguyen committed Nov 27, 2024
1 parent 8245065 commit 26c0fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/teams/team-ticket-channel-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
import { TicketChannel } from "@/types/teams";

type TicketChannelSelectFieldProps = {
form: any; // Pass the `useForm` instance from react-hook-form here
form: any;
};

const ticketChannels: TicketChannel[] = [
Expand All @@ -41,7 +41,7 @@ const TicketChannelSelectField: React.FC<TicketChannelSelectFieldProps> = ({
return (
<FormField
control={form.control}
name="channel" // Ensure this matches your form schema field name
name="channel"
render={({ field }) => (
<FormItem>
<FormLabel>Ticket Channel</FormLabel>
Expand Down

0 comments on commit 26c0fe5

Please sign in to comment.