Skip to content

Commit ae3eea6

Browse files
authored
update usage to connectWithoutView
1 parent a23ee2d commit ae3eea6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/libs/actions/OnyxUpdateManager/utils

src/libs/actions/OnyxUpdateManager/utils/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {applyUpdates} from './applyUpdates';
99
import {clear, enqueue, getUpdates} from './DeferredOnyxUpdates';
1010

1111
let lastUpdateIDAppliedToClient: number = CONST.DEFAULT_NUMBER_ID;
12-
Onyx.connect({
12+
Onyx.connectWithoutView({
1313
key: ONYXKEYS.ONYX_UPDATES_LAST_UPDATE_ID_APPLIED_TO_CLIENT,
1414
callback: (value) => (lastUpdateIDAppliedToClient = value ?? CONST.DEFAULT_NUMBER_ID),
1515
});

0 commit comments

Comments
 (0)