mobile: fix all eslint warnings

This commit is contained in:
ammarahm-ed
2022-08-30 18:27:09 +05:00
parent 2d84b79f22
commit be21c4735f
65 changed files with 1075 additions and 887 deletions

View File

@@ -46,7 +46,7 @@ export const useAttachmentProgress = (attachment, encryption) => {
} else {
setCurrentProgress(null);
}
}, [progress]);
}, [attachment.metadata.hash, progress]);
return [currentProgress, setCurrentProgress];
};