From fbd9045a05f052799aec7df84882ebeb90ce060e Mon Sep 17 00:00:00 2001 From: olivier Dufour Date: Wed, 3 Jan 2024 12:18:45 +0100 Subject: [PATCH] fix popup error missing key --- addon/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/popup.js b/addon/popup.js index b9f2dd80..61f6114c 100644 --- a/addon/popup.js +++ b/addon/popup.js @@ -1507,7 +1507,7 @@ class AllDataSelection extends React.PureComponent { h(ShowDetailsButton, {ref: "showDetailsBtn", sfHost, showDetailsSupported, selectedValue, contextRecordId}), selectedValue.recordId && selectedValue.recordId.startsWith("0Af") ? h("a", {href: this.getDeployStatusUrl(), target: linkTarget, className: "button page-button slds-button slds-button_neutral slds-m-top_xx-small slds-m-bottom_xx-small"}, "Check Deploy Status") : null, - buttons.map((button, index) => h("div", {}, h("a", + buttons.map((button, index) => h("div", {key: button + "Div"}, h("a", { key: button, // If buttons for both APIs are shown, the keyboard shortcut should open the first button.