Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1986676: Fix Unique key warning issue in P/PLR details page #9639

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -39,7 +39,7 @@ const FinallyNode: React.FC<FinallyNodeProps> = ({ element }) => {

{finallyTasks.map((ft, i) => {
return (
<g data-test={`finally-task-node ${ft.name}`}>
<g key={ft.name} data-test={`finally-task-node ${ft.name}`}>
<path
className="opp-finally-node__connector"
d={
Expand All @@ -52,7 +52,6 @@ const FinallyNode: React.FC<FinallyNodeProps> = ({ element }) => {
}
/>
<g
key={ft.name}
transform={`translate(${leftPadding}, ${NODE_HEIGHT * i +
FINALLY_NODE_VERTICAL_SPACING * i +
FINALLY_NODE_PADDING})`}
Expand Down
Expand Up @@ -41,7 +41,7 @@ const DynamicResourceLinkList: React.FC<DynamicResourceLinkListProps> = ({
linkName += ` (${qualifier})`;
}
return (
<div key={`${resourceKind}/${name}`}>
<div key={`${resourceKind}/${linkName}`}>
<PipelineResourceRef
resourceKind={resourceKind}
resourceName={name}
Expand Down