import Feature from 'sentry/components/acl/feature'; import FeatureDisabled from 'sentry/components/acl/featureDisabled'; import {t} from 'sentry/locale'; import useOrganization from 'sentry/utils/useOrganization'; import Trace, {NewTraceView} from 'sentry/views/replays/detail/trace/trace'; import type {ReplayRecord} from '../../types'; const features = ['organizations:performance-view']; function PerfDisabled() { return ( ); } function TraceFeature({replayRecord}: {replayRecord: ReplayRecord | undefined}) { const organization = useOrganization(); return ( {organization.features.includes('replay-trace-view-v1') ? ( ) : ( )} ); } export default TraceFeature;