Skip to content

Commit

Permalink
chore(replay): remove FE refs to HE flag (#77961)
Browse files Browse the repository at this point in the history
BE followup: #77881
  • Loading branch information
aliu39 committed Sep 23, 2024
1 parent ec2d760 commit ef8fbd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -538,22 +538,16 @@ export function ProjectFiltersSettings({project, params, features}: Props) {
type: 'boolean',
name: 'filters:react-hydration-errors',
label: t('Filter out hydration errors'),
help: organization.features.includes(
'session-replay-hydration-error-issue-creation'
)
? tct(
'React falls back to do a full re-render on a page. [replaySettings: Hydration Errors created from captured replays] are excluded from this setting.',
{
replaySettings: (
<Link
to={`/settings/projects/${project.slug}/replays/#sentry-replay_hydration_error_issues_help`}
/>
),
}
)
: t(
'React falls back to do a full re-render on a page and these errors are often not actionable.'
help: tct(
'React falls back to do a full re-render on a page. [replaySettings: Hydration Errors created from captured replays] are excluded from this setting.',
{
replaySettings: (
<Link
to={`/settings/projects/${project.slug}/replays/#sentry-replay_hydration_error_issues_help`}
/>
),
}
),
disabled: !hasAccess,
}}
/>
Expand Down
3 changes: 0 additions & 3 deletions static/app/views/settings/project/projectReplays.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ function ProjectReplaySettings({organization, project, params: {projectId}}: Pro
);
},
getData: data => ({options: data}),
visible({features}) {
return features.has('session-replay-hydration-error-issue-creation');
},
},
],
},
Expand Down

0 comments on commit ef8fbd8

Please sign in to comment.