diff --git a/src/Image.js b/src/Image.js index 8b4fc9c..1eb442a 100644 --- a/src/Image.js +++ b/src/Image.js @@ -25,7 +25,7 @@ const Img = styled('img')({ }, }); -export default React.forwardRef(function Image(props, ref) { +export default function Image(props) { const { src, alt, @@ -127,7 +127,6 @@ export default React.forwardRef(function Image(props, ref) { onLoad={handleLoad} onError={handleError} {...rest} - ref={ref} /> {(Boolean(showLoading) || Boolean(errorIcon)) && (