From a12533eb7e2fab158fd1e697fe92f181bba1546a Mon Sep 17 00:00:00 2001 From: Hezekiel Tamire Date: Fri, 16 Feb 2024 00:46:58 +0300 Subject: [PATCH] run prettier --- src/setup/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/setup/index.ts b/src/setup/index.ts index 1869e9c8ef93..afe5027e37b1 100644 --- a/src/setup/index.ts +++ b/src/setup/index.ts @@ -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 ''; @@ -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(), }, });