fix feature form authorship options select

This commit is contained in:
João Geonizeli
2022-08-10 17:59:04 +00:00
parent d03b1c9183
commit f9fc5fc3a7
3 changed files with 19 additions and 21 deletions

View File

@@ -1,15 +1,9 @@
import React, { FC, useContext } from 'react'
import { Control, FieldValues } from 'react-hook-form';
import React, { FC, useContext } from 'react';
import { FieldValues, UseFormReturn } from 'react-hook-form';
import { Question } from '../../../__generated__/graphql-schema';
type FormContextHooks = {
register: any
setValue: Function
control: Control<FieldValues>
}
type FormContextProps = {
hooks: FormContextHooks
hooks: UseFormReturn<FieldValues, object>
question?: Question
}