mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
mobile: fix all eslint warnings
This commit is contained in:
@@ -46,7 +46,7 @@ export const useAttachmentProgress = (attachment, encryption) => {
|
||||
} else {
|
||||
setCurrentProgress(null);
|
||||
}
|
||||
}, [progress]);
|
||||
}, [attachment.metadata.hash, progress]);
|
||||
|
||||
return [currentProgress, setCurrentProgress];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user