Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
HezekielT committed Feb 15, 2024
1 parent 164c492 commit a12533e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/setup/index.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import {I18nManager} from 'react-native';
import Onyx from 'react-native-onyx';
import getPlatform from '@libs/getPlatform';
import intlPolyfill from '@libs/IntlPolyfill';
import * as Metrics from '@libs/Metrics';
import * as Device from '@userActions/Device';
import exposeGlobalMemoryOnlyKeysMethods from '@userActions/MemoryOnlyKeys/exposeGlobalMemoryOnlyKeysMethods';
import CONST from '@src/CONST';
import ONYXKEYS from '@src/ONYXKEYS';
import getPlatform from '@libs/getPlatform';
import platformSetup from './platformSetup';

function initializeLastVisitedPath(): string | undefined {
if(!(getPlatform() === CONST.PLATFORM.ANDROID || getPlatform() === CONST.PLATFORM.IOS)){
if (!(getPlatform() === CONST.PLATFORM.ANDROID || getPlatform() === CONST.PLATFORM.IOS)) {
return;
}
return '';
Expand Down Expand Up @@ -49,7 +49,7 @@ export default function () {
willAlertModalBecomeVisible: false,
},
// Always open the home route on app startup for native platforms by clearing the lastVisitedPath
[ONYXKEYS.LAST_VISITED_PATH]: initializeLastVisitedPath()
[ONYXKEYS.LAST_VISITED_PATH]: initializeLastVisitedPath(),
},
});

Expand Down

0 comments on commit a12533e

Please sign in to comment.