pierrejeambrun commented on code in PR #45045:
URL: https://github.com/apache/airflow/pull/45045#discussion_r1892356128
##########
airflow/ui/src/components/ClearRun/ClearRunButton.tsx:
##########
@@ -48,7 +56,8 @@ const ClearRunButton = ({ dagId, dagRunId }: Props) => {
return (
<Box>
- <Button
+ <ButtonComponent
Review Comment:
> We may be able to get away with something like:
>
> ```
> <Button
> as={withText ? undefined : IconButton}
> ```
Good idea, I don't know why the `as IconButton` is not working properly, and
the `undefined` part make the pointer and button behavior disappear :(.
--
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]