make tabindex camel cased
This commit is contained in:
parent
f305013aaf
commit
fd7e3b04f9
|
@ -230,7 +230,7 @@ export const ImageUpload = forwardRef(({ children, className, onSelect, onUpload
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<div
|
<div
|
||||||
className={className} onClick={() => ref.current?.click()} style={{ cursor: 'pointer' }} tabindex={0} onKeyDown={(e) => {
|
className={className} onClick={() => ref.current?.click()} style={{ cursor: 'pointer' }} tabIndex={0} onKeyDown={(e) => {
|
||||||
if (e.key === 'Enter') { ref.current?.click() }
|
if (e.key === 'Enter') { ref.current?.click() }
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue