Skip to content

Commit 3a1af39

Browse files
authored
add comment
1 parent a15afbc commit 3a1af39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/libs/E2E/actions/waitForAppLoaded.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import ONYXKEYS from '@src/ONYXKEYS';
44
// Once we get the sidebar loaded end mark we know that the app is ready to be used:
55
export default function waitForAppLoaded(): Promise<void> {
66
return new Promise((resolve) => {
7+
// We have used `connectWithoutView` here because OnyxUpdates is not connected to any UI
78
const connection = Onyx.connectWithoutView({
89
key: ONYXKEYS.IS_SIDEBAR_LOADED,
910
callback: (isSidebarLoaded) => {

0 commit comments

Comments
 (0)