linted gallery/index
This commit is contained in:
parent
c0a460a0c1
commit
666f6d9b21
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue