bbovenzi commented on code in PR #70149:
URL: https://github.com/apache/airflow/pull/70149#discussion_r3622721377
##########
airflow-core/src/airflow/ui/src/pages/ReactPlugin.tsx:
##########
@@ -85,12 +122,16 @@ export const ReactPlugin = ({ reactApp }: { readonly
reactApp: ReactAppResponse
return (
<Plugin
+ asset={asset}
assetId={assetId}
assetUri={assetUri}
+ dag={dag}
dagId={dagId}
+ dagRun={dagRun}
mapIndex={mapIndex}
runId={runId}
taskId={taskId}
+ taskInstance={taskInstance}
Review Comment:
Let's just make this a `const pluginProps = {}` and then we can pass the
same content to plugin and lazy plugin. `<Plugin {...pluginProps} />` A little
more DRY
--
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]