Skip to content

Commit

Permalink
ref(hydration errors): hide html diff (#78731)
Browse files Browse the repository at this point in the history
closes #78687

the HTML diff tab is hidden in hydration error issues & from replay
breadcrumbs:

<img width="1465" alt="SCR-20241007-mmem"
src="https://github.com/user-attachments/assets/d44df7c7-c7e6-418c-af73-c9c202d61a93">
  • Loading branch information
michellewzhang authored Oct 8, 2024
1 parent f02ee47 commit ad9a523
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/app/components/replays/diff/replayDiffChooser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export default function ReplayDiffChooser({
<TabList>
<TabList.Item key={DiffType.SLIDER}>{t('Slider Diff')}</TabList.Item>
<TabList.Item key={DiffType.VISUAL}>{t('Side By Side Diff')}</TabList.Item>
<TabList.Item key={DiffType.HTML}>{t('HTML Diff')}</TabList.Item>
<TabList.Item key={DiffType.HTML} hidden>
{t('HTML Diff')}
</TabList.Item>
</TabList>

<StyledTabPanels>
Expand Down

0 comments on commit ad9a523

Please sign in to comment.