mirror of
https://github.com/umami-software/umami.git
synced 2026-02-13 09:05:36 +01:00
fix unique key prop error on forms
This commit is contained in:
parent
cfc3662c29
commit
72ac97c5d9
5 changed files with 15 additions and 5 deletions
|
|
@ -43,7 +43,9 @@ export function TeamMemberRemoveButton({
|
|||
<Modal title={formatMessage(labels.removeMember)}>
|
||||
{(close: () => void) => (
|
||||
<ConfirmationForm
|
||||
message={formatMessage(messages.confirmRemove, { target: <b>{userName}</b> })}
|
||||
message={formatMessage(messages.confirmRemove, {
|
||||
target: <b key={messages.confirmRemove.id}>{userName}</b>,
|
||||
})}
|
||||
isLoading={isPending}
|
||||
error={error}
|
||||
onConfirm={handleConfirm.bind(null, close)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue