mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix key warning
This commit is contained in:
@@ -337,7 +337,17 @@ const EditMenu = ({ post }: { post: Comment }) => {
|
||||
i18nKey='ban_user_for'
|
||||
shouldUnescape={true}
|
||||
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 || ''}
|
||||
/>
|
||||
),
|
||||
}}
|
||||
/>
|
||||
?
|
||||
|
||||
Reference in New Issue
Block a user