From 50169fcd7d9a5e09876ad2d4f160752d299fc84d Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 22 Oct 2020 16:56:01 -0500 Subject: [PATCH] Removed unused code in ImageLoader MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Removed: - unused code in ImageLoader --- .../gabsocial/components/image_loader.js | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/app/javascript/gabsocial/components/image_loader.js b/app/javascript/gabsocial/components/image_loader.js index 52ea4a31..b992a4fe 100644 --- a/app/javascript/gabsocial/components/image_loader.js +++ b/app/javascript/gabsocial/components/image_loader.js @@ -117,36 +117,10 @@ class ImageLoader extends React.PureComponent { const { alt, src, width, height, onClick } = this.props const { loading } = this.state - // .image-loader { - // position: relative; - - // @include flex(center, center, column); - // @include size(100%); - - // &__preview-canvas { - // object-fit: contain; - - // @include max-size($media-modal-media-max-width, $media-modal-media-max-height); - // @include background-image("", contain, center, repeat); - // } - - // &--amorphous & { - // &__preview-canvas { - // display: none; - // } - // } - - // .loading-bar { - // position: relative; - // } - // } - const className = CX({ d: 1, w100PC: 1, h100PC: 1, - // 'image-loader--loading': loading, - // 'image-loader--amorphous': !this.hasSize(), }); return (