Skip to content

Commit

Permalink
fix: corrigir useFormComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
wilcorrea committed Apr 19, 2024
1 parent bcb374e commit 9a551e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/view/components/form/hooks/useFormComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ChangeEvent, useEffect, useId, useState } from 'react'

import { FormElement, FormFieldProps } from '../index.tsx'

export function useFormComponent<T> (props: FormFieldProps) {
export function useFormComponent<T> (props: FormFieldProps<T>) {
const {
id,
name,
Expand Down

0 comments on commit 9a551e4

Please sign in to comment.