Skip to content

Commit

Permalink
Merge pull request #27907 from aimane-chnaif/fix-27094
Browse files Browse the repository at this point in the history
(cherry picked from commit 0c80655)
  • Loading branch information
thienlnam authored and OSBotify committed Sep 21, 2023
1 parent e3ce332 commit c21500f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/pages/NewChatSelectorPage.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import React from 'react';
import {withOnyx} from 'react-native-onyx';
import OnyxTabNavigator, {TopTab} from '../libs/Navigation/OnyxTabNavigator';
import TabSelector from '../components/TabSelector/TabSelector';
import Navigation from '../libs/Navigation/Navigation';
import Permissions from '../libs/Permissions';
import NewChatPage from './NewChatPage';
import WorkspaceNewRoomPage from './workspace/WorkspaceNewRoomPage';
import CONST from '../CONST';
import ONYXKEYS from '../ONYXKEYS';
import withWindowDimensions, {windowDimensionsPropTypes} from '../components/withWindowDimensions';
import HeaderWithBackButton from '../components/HeaderWithBackButton';
import ScreenWrapper from '../components/ScreenWrapper';
Expand Down Expand Up @@ -66,4 +68,10 @@ NewChatSelectorPage.propTypes = propTypes;
NewChatSelectorPage.defaultProps = defaultProps;
NewChatSelectorPage.displayName = 'NewChatPage';

export default compose(withLocalize, withWindowDimensions)(NewChatSelectorPage);
export default compose(
withLocalize,
withWindowDimensions,
withOnyx({
betas: {key: ONYXKEYS.BETAS},
}),
)(NewChatSelectorPage);

0 comments on commit c21500f

Please sign in to comment.