aritra24 commented on code in PR #47821:
URL: https://github.com/apache/airflow/pull/47821#discussion_r1997659098
##########
airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -89,7 +101,12 @@ export const DetailsLayout = ({ children, error, isLoading,
tabs }: Props) => {
<Panel defaultSize={dagView === "graph" ? 30 : 80} minSize={20}>
<Box display="flex" flexDirection="column" h="100%">
{children}
- <ErrorAlert error={error} />
+ <VStack ml={2} my={2}>
+ <ErrorAlert error={error} />
+ {warning?.dag_warnings.map((warningItem) => (
+ <WarningAlert key={warningItem.dag_id} warning={warningItem}
/>
Review Comment:
The key is required to be
[unique](https://react.dev/learn/rendering-lists#rules-of-keys) between peers
which is used during rerendering
--
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]