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() } }} >