Skip to content

Commit 6df25dc

Browse files
authored
Merge pull request Expensify#66699 from thelullabyy/fix/66591/err-in-console
JavaScript errors in console when viewing report with expenses
2 parents 67ab26e + e84be7a commit 6df25dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks/useLoadingBarVisibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const RELEVANT_COMMANDS = new Set<string>([WRITE_COMMANDS.OPEN_APP, WRITE_COMMAN
1212
*/
1313
export default function useLoadingBarVisibility(): boolean {
1414
const [persistedRequests] = useOnyx(ONYXKEYS.PERSISTED_REQUESTS, {canBeMissing: false});
15-
const [ongoingRequests] = useOnyx(ONYXKEYS.PERSISTED_ONGOING_REQUESTS, {canBeMissing: false});
15+
const [ongoingRequests] = useOnyx(ONYXKEYS.PERSISTED_ONGOING_REQUESTS, {canBeMissing: true});
1616
const {isOffline} = useNetwork();
1717

1818
// Don't show loading bar if currently offline

0 commit comments

Comments
 (0)