chore: remove redundant console.log
This commit is contained in:
@@ -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]);
|
||||||
|
|
||||||
|
|||||||
@@ -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 }));
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user