From 666f6d9b21c997bb6e883f81f3f5afb78111c130 Mon Sep 17 00:00:00 2001 From: Abhinav-grd Date: Mon, 1 Mar 2021 11:27:36 +0530 Subject: [PATCH] linted gallery/index --- src/pages/gallery/index.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/gallery/index.tsx b/src/pages/gallery/index.tsx index d04644b94..1f916fb5f 100644 --- a/src/pages/gallery/index.tsx +++ b/src/pages/gallery/index.tsx @@ -235,11 +235,7 @@ export default function Gallery(props) { ); }; - const getSlideData = async ( - instance: any, - index: number, - item: file - ) => { + const getSlideData = async (instance: any, index: number, item: file) => { if (!item.msrc) { const url = await DownloadManager.getPreview(item); updateUrl(item.dataIndex)(url);