linted gallery/index

This commit is contained in:
Abhinav-grd 2021-03-01 11:27:36 +05:30
parent c0a460a0c1
commit 666f6d9b21

View file

@ -235,11 +235,7 @@ export default function Gallery(props) {
); );
}; };
const getSlideData = async ( const getSlideData = async (instance: any, index: number, item: file) => {
instance: any,
index: number,
item: file
) => {
if (!item.msrc) { if (!item.msrc) {
const url = await DownloadManager.getPreview(item); const url = await DownloadManager.getPreview(item);
updateUrl(item.dataIndex)(url); updateUrl(item.dataIndex)(url);