antonio-mello-ai commented on PR #62831:
URL: https://github.com/apache/airflow/pull/62831#issuecomment-4048244040

   @pierrejeambrun Thanks for the guidance — installed `prek` locally and set 
up the pre-commit hooks as recommended.
   
   Fixed in 6ae58d3:
   - **Formatting**: indentation in `PoolBar.tsx` map callback + JSX line break 
in `PoolBarCard.tsx` (auto-fixed by prek formatter)
   - **TypeScript TS2367**: widened `slotType` cast from `as TaskInstanceState` 
to `as TaskInstanceState | "open"` since `open_slots` produces `"open"` which 
isn't a valid `TaskInstanceState`. Added explicit cast for `StateIcon` prop 
where `"open"` is already filtered out by `infoSlots`.
   
   All checks passing locally via `prek run`. Please let me know if anything 
else needs attention.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to