VedantMadane commented on PR #60591:
URL: https://github.com/apache/airflow/pull/60591#issuecomment-3780848863
The `onClose` prop (renamed as `onCloseDialog`) is actually being used in
three places, following the same pattern as `ClearTaskInstanceDialog.tsx`:
1. **Line 56**: `onSuccessConfirm: onCloseDialog` - passed to
`useClearTaskInstances` hook
2. **Line 104**: `onOpenChange={onCloseDialog}` - passed to `Dialog.Root` to
handle dialog state changes
3. **Line 196**: `onCloseDialog();` - called directly in the confirmation
callback
The implementation matches exactly how `ClearTaskInstanceDialog.tsx` handles
the `onClose` prop. Is there a specific issue with how it's being used, or did
you mean something else?
--
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]