make tabindex camel cased

This commit is contained in:
keyan 2024-03-04 15:38:56 -06:00
parent f305013aaf
commit fd7e3b04f9
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ export const ImageUpload = forwardRef(({ children, className, onSelect, onUpload
}}
/>
<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() }
}}
>