File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import Onyx from 'react-native-onyx' ;
2- import * as Environment from '@libs/Environment/Environment' ;
2+ import { isProduction as isProductionLib } from '@libs/Environment/Environment' ;
33import markAllPolicyReportsAsRead from '@libs/markAllPolicyReportsAsRead' ;
4- import * as Session from '@userActions/Session' ;
4+ import { setSupportAuthToken } from '@userActions/Session' ;
55import type { OnyxKey } from '@src/ONYXKEYS' ;
66
77/**
@@ -13,7 +13,7 @@ export default function addUtilsToWindow() {
1313 return ;
1414 }
1515
16- Environment . isProduction ( ) . then ( ( isProduction ) => {
16+ isProductionLib ( ) . then ( ( isProduction ) => {
1717 if ( isProduction ) {
1818 return ;
1919 }
@@ -42,7 +42,7 @@ export default function addUtilsToWindow() {
4242 } ) ;
4343 } ;
4444
45- window . setSupportToken = Session . setSupportAuthToken ;
45+ window . setSupportToken = setSupportAuthToken ;
4646
4747 // Workaround to give employees the ability to mark reports as read via the JS console
4848 window . markAllPolicyReportsAsRead = markAllPolicyReportsAsRead ;
You can’t perform that action at this time.
0 commit comments