chore: remove redundant console.log

This commit is contained in:
Lei Nelissen
2022-11-12 17:27:18 +01:00
parent 68de2ca80e
commit f8812bc75c
2 changed files with 0 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ function BackButton() {
const navigation = useNavigation(); const navigation = useNavigation();
const handlePress = useCallback(() => { const handlePress = useCallback(() => {
console.log(navigation.canGoBack());
navigation.goBack(); navigation.goBack();
}, [navigation]); }, [navigation]);

View File

@@ -49,7 +49,6 @@ export const downloadTrack = createAsyncThunk(
dispatch(initializeDownload({ id, jobId, size: contentLength, location })); dispatch(initializeDownload({ id, jobId, size: contentLength, location }));
}, },
progress: (result) => { progress: (result) => {
console.log('PROGRESS', result, url);
// Dispatch a progress update // Dispatch a progress update
dispatch(progressDownload({ id, progress: result.bytesWritten / result.contentLength })); dispatch(progressDownload({ id, progress: result.bytesWritten / result.contentLength }));
}, },