fix key warning

This commit is contained in:
plebeius
2026-01-09 16:34:27 +01:00
parent 476681c689
commit ac850ca830
+11 -1
View File
@@ -337,7 +337,17 @@ const EditMenu = ({ post }: { post: Comment }) => {
i18nKey='ban_user_for' i18nKey='ban_user_for'
shouldUnescape={true} shouldUnescape={true}
components={{ components={{
1: <input className={styles.banInput} onChange={onBanDurationChange} type='number' min={1} max={100} value={banDuration || ''} />, 1: (
<input
key='ban-duration-input'
className={styles.banInput}
onChange={onBanDurationChange}
type='number'
min={1}
max={100}
value={banDuration || ''}
/>
),
}} }}
/> />
? ?