diff --git a/src/pages/NewChatSelectorPage.js b/src/pages/NewChatSelectorPage.js index ba64ffec5a96..f41f2fa5bd3e 100755 --- a/src/pages/NewChatSelectorPage.js +++ b/src/pages/NewChatSelectorPage.js @@ -6,6 +6,7 @@ import TabSelector from '@components/TabSelector/TabSelector'; import withLocalize, {withLocalizePropTypes} from '@components/withLocalize'; import withWindowDimensions, {windowDimensionsPropTypes} from '@components/withWindowDimensions'; import compose from '@libs/compose'; +import Navigation from '@libs/Navigation/Navigation'; import OnyxTabNavigator, {TopTab} from '@libs/Navigation/OnyxTabNavigator'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; @@ -33,7 +34,10 @@ function NewChatSelectorPage(props) { shouldEnableMaxHeight testID={NewChatSelectorPage.displayName} > - + Navigation.dismissModal()} + /> ( @@ -59,7 +63,7 @@ function NewChatSelectorPage(props) { NewChatSelectorPage.propTypes = propTypes; NewChatSelectorPage.defaultProps = defaultProps; -NewChatSelectorPage.displayName = 'NewChatPage'; +NewChatSelectorPage.displayName = 'NewChatSelectorPage'; export default compose( withLocalize,