diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/components/elements/Image/Image.jsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/components/elements/Image/Image.jsx b/src/core/components/elements/Image/Image.jsx index d7b19821..ad565be6 100644 --- a/src/core/components/elements/Image/Image.jsx +++ b/src/core/components/elements/Image/Image.jsx @@ -1,5 +1,5 @@ -import { LazyLoadImage } from 'react-lazy-load-image-component' -import 'react-lazy-load-image-component/src/effects/opacity.css' +import { LazyLoadImage } from 'react-lazy-load-image-component'; +import 'react-lazy-load-image-component/src/effects/opacity.css'; /** * The `Image` component is used to display lazy-loaded images. @@ -17,10 +17,10 @@ const Image = ({ ...props }) => { placeholderSrc='/images/indoteknik-placeholder.png' effect='opacity' alt={props.src ? props.alt : 'Image Not Found - Indoteknik'} - wrapperClassName='bg-white' + // wrapperClassName='bg-white' loading='eager' /> - ) -} + ); +}; -export default Image +export default Image; |
