Skip to content

Commit 225ad10

Browse files
Comment out shit causing a circular dependency
1 parent f5da095 commit 225ad10

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/libs/Network/index.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Onyx from 'react-native-onyx';
22
import * as ActiveClientManager from '@libs/ActiveClientManager';
3-
import {reauthenticate} from '@libs/Middleware/Reauthentication';
3+
// import {reauthenticate} from '@libs/Middleware/Reauthentication';
44
import CONST from '@src/CONST';
55
import ONYXKEYS from '@src/ONYXKEYS';
66
import type {Request} from '@src/types/onyx';
@@ -17,15 +17,15 @@ ActiveClientManager.isReady().then(() => {
1717
setInterval(MainQueue.process, CONST.NETWORK.PROCESS_REQUEST_DELAY_MS);
1818

1919
// If a reauthentication request is set make sure it is processed
20-
Onyx.connect({
21-
key: ONYXKEYS.REAUTHENTICATION_REQUEST,
22-
callback: (request) => {
23-
if (!request) {
24-
return;
25-
}
26-
reauthenticate(request.commandName);
27-
},
28-
});
20+
// Onyx.connect({
21+
// key: ONYXKEYS.REAUTHENTICATION_REQUEST,
22+
// callback: (request) => {
23+
// if (!request) {
24+
// return;
25+
// }
26+
// // reauthenticate(request.commandName);
27+
// },
28+
// });
2929
});
3030

3131
/**

0 commit comments

Comments
 (0)