diff --git a/frontend/src/pages/xray/outbounds/OutboundFormModal.tsx b/frontend/src/pages/xray/outbounds/OutboundFormModal.tsx index ef6af2b5..3be86a46 100644 --- a/frontend/src/pages/xray/outbounds/OutboundFormModal.tsx +++ b/frontend/src/pages/xray/outbounds/OutboundFormModal.tsx @@ -36,7 +36,6 @@ import { type OutboundFormValues, } from '@/schemas/forms/outbound-form'; import { - DNSRuleActions, DOMAIN_STRATEGY_OPTION, OutboundDomainStrategies, SNIFFING_OPTION, @@ -75,6 +74,7 @@ import { isMuxAllowed, newStreamSlice, } from './outbound-form-helpers'; +import { OutboundOnlyProtocolFields } from './outbound-only-fields'; import './OutboundFormModal.css'; // Pattern A rewrite of OutboundFormModal. Built as a sibling `.new.tsx` @@ -504,85 +504,7 @@ export default function OutboundFormModal({ )} - {protocol === 'loopback' && ( - - - - )} - - {protocol === 'blackhole' && ( - - - - - - - - - - - - - - {(fields, { add, remove }) => ( - <> - -