fix: resolver erros de linting e validação de types TypeScript no hook useTasks, useTasksEnhanced, e useOFsAtivas após refatoração da seleção de OF

This commit is contained in:
2026-08-13 14:50:11 +00:00
parent 216225be72
commit 65ac295a72
3 changed files with 18 additions and 10 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export const useOFsAtivas = () => {
throw error;
}
return data.map((of: any) => ({
return data.map((of: { num_of: string, descritivo?: string | null, gestor?: string | null, ficha_tecnica_contratos?: { cliente?: string | null } | null }) => ({
of_number: of.num_of,
descricao_resumida: of.descritivo,
gestor: of.gestor,