Commit 225ad10 1 parent f5da095 commit 225ad10 Copy full SHA for 225ad10
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
import Onyx from 'react-native-onyx' ;
2
2
import * as ActiveClientManager from '@libs/ActiveClientManager' ;
3
- import { reauthenticate } from '@libs/Middleware/Reauthentication' ;
3
+ // import {reauthenticate} from '@libs/Middleware/Reauthentication';
4
4
import CONST from '@src/CONST' ;
5
5
import ONYXKEYS from '@src/ONYXKEYS' ;
6
6
import type { Request } from '@src/types/onyx' ;
@@ -17,15 +17,15 @@ ActiveClientManager.isReady().then(() => {
17
17
setInterval ( MainQueue . process , CONST . NETWORK . PROCESS_REQUEST_DELAY_MS ) ;
18
18
19
19
// 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
+ // });
29
29
} ) ;
30
30
31
31
/**
You can’t perform that action at this time.
0 commit comments