diff --git a/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx b/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx index 92a5940ee5b4..83afabda66c2 100644 --- a/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx +++ b/src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx @@ -47,7 +47,10 @@ type Screens = Partial React.ComponentType>>; * @param getScreenOptions optional function that returns the screen options, override the default options */ function createModalStackNavigatorFactory(factory: typeof createPlatformStackNavigator) { - return function createNestedModalStackNavigator(screens: Screens, getScreenOptions?: (styles: ThemeStyles) => StackNavigationOptions): React.ComponentType { + return function createNestedModalStackNavigator( + screens: Screens, + getScreenOptions?: (styles: ThemeStyles) => StackNavigationOptions, + ): React.ComponentType { const ModalStackNavigator = factory(); function ModalStack() { @@ -77,7 +80,7 @@ function createModalStackNavigatorFactory(factory: typeof createPlatformStackNav ModalStack.displayName = 'ModalStack'; return ModalStack; - } + }; } const createModalStackNavigator = createModalStackNavigatorFactory(createPlatformStackNavigator);