From 54dd5ef478f0eb969bf2784f1700272c83a201cc Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Tue, 1 Sep 2020 17:05:29 +0700 Subject: [PATCH] fixed is_loading display --- .../node/NodeImageSlideBlock/index.tsx | 39 +++++++++---------- 1 file changed, 19 insertions(+), 20 deletions(-) diff --git a/src/components/node/NodeImageSlideBlock/index.tsx b/src/components/node/NodeImageSlideBlock/index.tsx index 07a18807..3f67b153 100644 --- a/src/components/node/NodeImageSlideBlock/index.tsx +++ b/src/components/node/NodeImageSlideBlock/index.tsx @@ -291,26 +291,25 @@ const NodeImageSlideBlock: FC = ({ onTouchStart={startDragging} ref={slide} > - {images.map((file, index) => ( -
- -
- ))} + {!is_loading && + images.map((file, index) => ( +
+ +
+ ))} {images.length > 1 && (