Skip to content

Commit

Permalink
Use message as key in ValidationMessages to avoid duplicate keys #6898
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelob9 committed Apr 25, 2023
1 parent 58cc9ed commit 3e9d7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/js/dfv/src/components/validation-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ValidationMessages = ( { messages } ) => {
<div className="pods-validation-messages">
{ messages.map( ( message ) => (
<Notice
key="message"
key={ message }
status="error"
isDismissible={ false }
politeness="polite"
Expand Down

0 comments on commit 3e9d7f4

Please sign in to comment.