From fd7e3b04f9223574191245168826d18b6b4e21ef Mon Sep 17 00:00:00 2001 From: keyan Date: Mon, 4 Mar 2024 15:38:56 -0600 Subject: [PATCH] make tabindex camel cased --- components/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/image.js b/components/image.js index c88beda1..42f7dd01 100644 --- a/components/image.js +++ b/components/image.js @@ -230,7 +230,7 @@ export const ImageUpload = forwardRef(({ children, className, onSelect, onUpload }} />
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() } }} >