mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
fix attachment loading progress
This commit is contained in:
@@ -60,6 +60,7 @@ export const useAppEvents = () => {
|
||||
});
|
||||
|
||||
const onLoadingAttachmentProgress = data => {
|
||||
console.log('loading', data);
|
||||
useAttachmentStore.getState().setLoading(data.total === data.current ? null : data);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user