Skip to content

Commit 69f4baa

Browse files
committed
Refactor-src/libs/actions/Download.ts-to-remove-Onyx.connect()
1 parent 54db848 commit 69f4baa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/actions/Download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function setDownload(sourceID: string, isDownloading: boolean): Promise<void | v
99
}
1010

1111
function clearDownloads() {
12-
const connection = Onyx.connect({
12+
const connection = Onyx.connectWithoutView({
1313
key: ONYXKEYS.COLLECTION.DOWNLOAD,
1414
waitForCollectionCallback: true,
1515
callback: (records) => {

0 commit comments

Comments
 (0)