From 10c4c9f7a2372e9bca4e9d927cd5ebc2c3e638db Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Fri, 13 Feb 2026 17:42:59 +0100 Subject: [PATCH] Revert "[CP Staging] Revert "Enable merchant rules"" --- src/pages/workspace/rules/MerchantRulesSection.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pages/workspace/rules/MerchantRulesSection.tsx b/src/pages/workspace/rules/MerchantRulesSection.tsx index 2ed2a7e97d43..af60574f2960 100644 --- a/src/pages/workspace/rules/MerchantRulesSection.tsx +++ b/src/pages/workspace/rules/MerchantRulesSection.tsx @@ -6,7 +6,6 @@ import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription'; import OfflineWithFeedback from '@components/OfflineWithFeedback'; import Section from '@components/Section'; import Text from '@components/Text'; -import useEnvironment from '@hooks/useEnvironment'; import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset'; import useLocalize from '@hooks/useLocalize'; import usePolicy from '@hooks/usePolicy'; @@ -71,7 +70,6 @@ function MerchantRulesSection({policyID}: MerchantRulesSectionProps) { const theme = useTheme(); const policy = usePolicy(policyID); const expensifyIcons = useMemoizedLazyExpensifyIcons(['Plus']); - const {isProduction} = useEnvironment(); // Hoist iterator-independent translations to avoid redundant calls in the loop const fieldLabels: FieldLabels = useMemo( @@ -103,10 +101,6 @@ function MerchantRulesSection({policyID}: MerchantRulesSectionProps) { }); }, [codingRules]); - if (isProduction) { - return null; - } - const renderTitle = () => ( {translate('workspace.rules.merchantRules.title')}