mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Migrate AppStateListener to TypeScript. (#3251)
This commit is contained in:
@@ -12,7 +12,8 @@ const logger = log.extend( "AppStateListener" );
|
||||
|
||||
const AppStateListener = ( ) => {
|
||||
const { loadTime } = usePerformance( {
|
||||
screenName: "AppStateListener"
|
||||
screenName: "AppStateListener",
|
||||
isLoading: false
|
||||
} );
|
||||
if ( isDebugMode( ) ) {
|
||||
logger.info( loadTime );
|
||||
Reference in New Issue
Block a user