Browse Source

chore(replay): cleanup the `session-replay-ga` feature flag (#51497)

Ryan Albrecht 1 year ago
parent
commit
75ab6424f7
1 changed files with 7 additions and 20 deletions
  1. 7 20
      static/app/views/replays/list/replayOnboardingPanel.tsx

+ 7 - 20
static/app/views/replays/list/replayOnboardingPanel.tsx

@@ -3,7 +3,6 @@ import styled from '@emotion/styled';
 
 import emptyStateImg from 'sentry-images/spot/replays-empty-state.svg';
 
-import Feature from 'sentry/components/acl/feature';
 import Alert from 'sentry/components/alert';
 import {Button} from 'sentry/components/button';
 import ButtonBar from 'sentry/components/buttonBar';
@@ -116,25 +115,13 @@ export default function ReplayOnboardingPanel() {
       <OnboardingPanel
         image={<HeroImage src={emptyStateImg} breakpoints={breakpoints} />}
       >
-        <Feature
-          features={['session-replay-ga']}
-          organization={organization}
-          renderDisabled={() => (
-            <SetupReplaysCTA
-              orgSlug={organization.slug}
-              primaryAction={primaryAction}
-              disabled={primaryActionDisabled}
-            />
-          )}
-        >
-          <OnboardingCTAHook organization={organization}>
-            <SetupReplaysCTA
-              orgSlug={organization.slug}
-              primaryAction={primaryAction}
-              disabled={primaryActionDisabled}
-            />
-          </OnboardingCTAHook>
-        </Feature>
+        <OnboardingCTAHook organization={organization}>
+          <SetupReplaysCTA
+            orgSlug={organization.slug}
+            primaryAction={primaryAction}
+            disabled={primaryActionDisabled}
+          />
+        </OnboardingCTAHook>
       </OnboardingPanel>
     </Fragment>
   );