src/hooks/useDynamicInput.ts
Function useDynamicInput
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useDynamicInput = (questions?: number) => {
const defaultCounter = questions ?? 0;
const defaultIndexes = questions
? Array.from(Array(questions)).map((_, index) => index)
: [];
- Create a ticketCreate a ticket