fix unique key prop error on forms
This commit is contained in:
1 parent
cfc3662c29
commit
72ac97c5d9
5 files changed
+15
-5
No files matched your search
@@ -19,7 +19,9 @@ export function UserDeleteForm({ userId, username, onSave, onClose }) {
|
||||
|
||||
return (
|
||||
<ConfirmationForm
|
||||
message={formatMessage(messages.confirmDelete, { target: <b>{username}</b> })}
|
||||
message={formatMessage(messages.confirmDelete, {
|
||||
target: <b key={messages.confirmDelete.id}>{username}</b>,
|
||||
})}
|
||||
onConfirm={handleConfirm}
|
||||
onClose={onClose}
|
||||
buttonLabel={formatMessage(labels.delete)}
|
||||
|
||||
Reference in new issue
Block a user