From 421f084784a222c63c81320b0584ef1f98f75e27 Mon Sep 17 00:00:00 2001 From: Sibtain Ali Date: Sat, 4 Jun 2022 01:34:05 +0500 Subject: [PATCH] Removed return type for updateImageSize fn --- src/components/ThumbnailImage.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/ThumbnailImage.js b/src/components/ThumbnailImage.js index 72b40d584893..3088a13a425b 100644 --- a/src/components/ThumbnailImage.js +++ b/src/components/ThumbnailImage.js @@ -80,7 +80,6 @@ class ThumbnailImage extends PureComponent { * Update the state with the computed thumbnail sizes. * * @param {{ width: number, height: number }} Params - width and height of the original image. - * @returns {void} */ updateImageSize({width, height}) { const {thumbnailWidth, thumbnailHeight} = this.calculateThumbnailImageSize(width, height);