Skip to content

Commit fa54056

Browse files
authored
Merge pull request Expensify#67621 from allgandalf/patch-23
[No QA]: Remove Onyx.connect() for the key: ONYXKEYS.NETWORK in src/libs/HttpUtils.ts
2 parents 24197f3 + c6a5e15 commit fa54056

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/libs/HttpUtils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ const ABORT_COMMANDS = {
2222

2323
type AbortCommand = keyof typeof ABORT_COMMANDS;
2424

25-
Onyx.connect({
25+
// We have used `connectWithoutView` here because HttpUtils is not connected to any UI component
26+
Onyx.connectWithoutView({
2627
key: ONYXKEYS.NETWORK,
2728
callback: (network) => {
2829
if (!network) {

0 commit comments

Comments
 (0)