From 5933732a74ae1ca4124ddd4e8265b1f443234736 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Tue, 21 Feb 2023 21:51:51 +0700
Subject: fix

---
 src/core/components/elements/Image/Image.jsx | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

(limited to 'src/core/components/elements/Image/Image.jsx')

diff --git a/src/core/components/elements/Image/Image.jsx b/src/core/components/elements/Image/Image.jsx
index 579660a4..a6f0b00c 100644
--- a/src/core/components/elements/Image/Image.jsx
+++ b/src/core/components/elements/Image/Image.jsx
@@ -2,13 +2,15 @@ import { LazyLoadImage } from "react-lazy-load-image-component"
 import "react-lazy-load-image-component/src/effects/opacity.css"
 
 const Image = ({ ...props }) => (
-  <LazyLoadImage
-    { ...props }
-    src={props.src || '/images/noimage.jpeg'}
-    placeholderSrc="/images/indoteknik-placeholder.png"
-    alt={props.src ? props.alt : 'Image Not Found - Indoteknik'}
-    wrapperClassName="bg-white"
-  />
+  <>
+    <LazyLoadImage
+      { ...props }
+      src={props.src || '/images/noimage.jpeg'}
+      placeholderSrc="/images/indoteknik-placeholder.png"
+      alt={props.src ? props.alt : 'Image Not Found - Indoteknik'}
+      wrapperClassName="bg-white"
+    />
+  </>
 )
 
 Image.defaultProps = LazyLoadImage.defaultProps
-- 
cgit v1.2.3

