@@ -24,7 +24,6 @@ import Section from '@components/Section';
2424import Text from '@components/Text' ;
2525import TextLink from '@components/TextLink' ;
2626import useLocalize from '@hooks/useLocalize' ;
27- import usePermissions from '@hooks/usePermissions' ;
2827import useResponsiveLayout from '@hooks/useResponsiveLayout' ;
2928import useThemeStyles from '@hooks/useThemeStyles' ;
3029import useWaitForNavigation from '@hooks/useWaitForNavigation' ;
@@ -61,7 +60,6 @@ function SecuritySettingsPage() {
6160 const { shouldUseNarrowLayout} = useResponsiveLayout ( ) ;
6261 const { windowWidth} = useWindowDimensions ( ) ;
6362 const personalDetails = usePersonalDetails ( ) ;
64- const { isBetaEnabled} = usePermissions ( ) ;
6563
6664 const [ account ] = useOnyx ( ONYXKEYS . ACCOUNT , { canBeMissing : true } ) ;
6765 const isUserValidated = account ?. validated ;
@@ -142,10 +140,7 @@ function SecuritySettingsPage() {
142140 Navigation . navigate ( ROUTES . SETTINGS_2FA_ROOT . getRoute ( ) ) ;
143141 } ,
144142 } ,
145- ] ;
146-
147- if ( isBetaEnabled ( CONST . BETAS . NEWDOT_MERGE_ACCOUNTS ) ) {
148- baseMenuItems . push ( {
143+ {
149144 translationKey : 'mergeAccountsPage.mergeAccount' ,
150145 icon : Expensicons . ArrowCollapse ,
151146 action : ( ) => {
@@ -159,8 +154,8 @@ function SecuritySettingsPage() {
159154 }
160155 Navigation . navigate ( ROUTES . SETTINGS_MERGE_ACCOUNTS . route ) ;
161156 } ,
162- } ) ;
163- }
157+ }
158+ ] ;
164159
165160 if ( isAccountLocked ) {
166161 baseMenuItems . push ( {
@@ -201,7 +196,7 @@ function SecuritySettingsPage() {
201196 link : '' ,
202197 wrapperStyle : [ styles . sectionMenuItemTopDescription ] ,
203198 } ) ) ;
204- } , [ translate , waitForNavigate , styles , isActingAsDelegate , isBetaEnabled , isAccountLocked , showLockedAccountModal ] ) ;
199+ } , [ translate , waitForNavigate , styles , isActingAsDelegate , isAccountLocked , showLockedAccountModal ] ) ;
205200
206201 const delegateMenuItems : MenuItemProps [ ] = useMemo (
207202 ( ) =>
0 commit comments