fix(frontend): resolve React 18 type errors

- Add children prop to components that lost implicit children (React.FC)
- Fix ReactNode type narrowing (Date, bigint, object, function types)
- Replace waitForNextUpdate with waitFor in renderHook tests (RTL 14)
- Add @ts-expect-error for react-dnd DndProvider children prop
- Forward ref in CustomListItem for dnd-kit sortable
- Fix icon prop types to use ReactNode
- Update ui-overrides root.context.provider type for children

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mehmet Salih Yavuz
2026-03-10 19:54:36 +03:00
parent 51b47f9400
commit 09b341f7c2
50 changed files with 206 additions and 156 deletions

View File

@@ -70,5 +70,5 @@ export const TextCellRenderer = (params: CellRendererProps) => {
}
}
return <div>{valueFormatted ?? value}</div>;
return <div>{valueFormatted ?? (value instanceof Date ? value.toISOString() : value)}</div>;
};