@@ -24,7 +24,6 @@ import type {WithCurrentUserPersonalDetailsProps} from '@components/withCurrentU
2424import withCurrentUserPersonalDetails from '@components/withCurrentUserPersonalDetails' ;
2525import useCardFeedErrors from '@hooks/useCardFeedErrors' ;
2626import useConfirmModal from '@hooks/useConfirmModal' ;
27- import useEnvironment from '@hooks/useEnvironment' ;
2827import { useMemoizedLazyExpensifyIcons } from '@hooks/useLazyAsset' ;
2928import useLocalize from '@hooks/useLocalize' ;
3029import useNetwork from '@hooks/useNetwork' ;
@@ -133,8 +132,6 @@ function InitialSettingsPage({currentUserPersonalDetails}: InitialSettingsPagePr
133132 const theme = useTheme ( ) ;
134133 const styles = useThemeStyles ( ) ;
135134 const { isExecuting, singleExecution} = useSingleExecution ( ) ;
136- const { isProduction} = useEnvironment ( ) ;
137-
138135 const popoverAnchor = useRef ( null ) ;
139136 const { translate} = useLocalize ( ) ;
140137 const focusedRouteName = useNavigationState ( ( state ) => findFocusedRoute ( state ) ?. name ) ;
@@ -249,17 +246,13 @@ function InitialSettingsPage({currentUserPersonalDetails}: InitialSettingsPagePr
249246 action : ( ) => Navigation . navigate ( ROUTES . SETTINGS_WALLET ) ,
250247 badgeText : hasActivatedWallet ? convertToDisplayString ( userWallet ?. currentBalance ) : undefined ,
251248 } ,
252- ...( ! isProduction
253- ? [
254- {
255- translationKey : 'expenseRulesPage.title' as const ,
256- icon : icons . Bolt ,
257- screenName : SCREENS . SETTINGS . RULES . ROOT ,
258- sentryLabel : CONST . SENTRY_LABEL . ACCOUNT . RULES ,
259- action : ( ) => Navigation . navigate ( ROUTES . SETTINGS_RULES ) ,
260- } ,
261- ]
262- : [ ] ) ,
249+ {
250+ translationKey : 'expenseRulesPage.title' ,
251+ icon : icons . Bolt ,
252+ screenName : SCREENS . SETTINGS . RULES . ROOT ,
253+ sentryLabel : CONST . SENTRY_LABEL . ACCOUNT . RULES ,
254+ action : ( ) => Navigation . navigate ( ROUTES . SETTINGS_RULES ) ,
255+ } ,
263256 {
264257 translationKey : 'common.preferences' ,
265258 icon : icons . Gear ,
0 commit comments