Skip to content

Commit

Permalink
Remove void return type
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Sep 14, 2023
1 parent 6593db0 commit 7d11afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function setDownload(sourceID: string, isDownloading: boolean): Promise<void> {
return Onyx.merge(`${ONYXKEYS.COLLECTION.DOWNLOAD}${sourceID}`, {isDownloading});
}

function clearDownloads(): void {
function clearDownloads() {
const connectionID = Onyx.connect({
key: ONYXKEYS.COLLECTION.DOWNLOAD,
waitForCollectionCallback: true,
Expand Down

0 comments on commit 7d11afc

Please sign in to comment.