mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +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
|
|
@ -35,7 +35,9 @@ export function TypeConfirmationForm({
|
|||
return (
|
||||
<Form onSubmit={onConfirm} error={error}>
|
||||
<p>
|
||||
{formatMessage(messages.actionConfirmation, { confirmation: <b>{confirmationValue}</b> })}
|
||||
{formatMessage(messages.actionConfirmation, {
|
||||
confirmation: <b key={messages.actionConfirmation.id}>{confirmationValue}</b>,
|
||||
})}
|
||||
</p>
|
||||
<FormRow label={formatMessage(labels.confirm)}>
|
||||
<FormInput name="confirm" rules={{ validate: value => value === confirmationValue }}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue