From 25c38375760ea33ffc185582086f06f5b2336dea Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Thu, 19 Feb 2026 15:06:17 -0700 Subject: [PATCH] Revert "[CP Staging] Revert "Enable merchant rules v2"" --- 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 895a4300a5e1e..448bb6095f8cf 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')}