src/hooks/useArray.ts
Function useArray
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useArray = <T>(
array?: T[],
options?: UseArrayOptions<T>
): UseArrayResult<T> => {
const create = options?.create ?? createPlainObject;
- Create a ticketCreate a ticket