Skip to content

Commit

Permalink
storybook: remove manual id definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Feb 1, 2025
1 parent 1ba18be commit 74e7c9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions static/app/components/stories/matrix.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ export default function Matrix<P extends RenderProps>({
return (
<div>
{selectedProps.length === 2 ? (
<Title id={`${selectedProps[0] as string}-vs-${selectedProps[1] as string}`}>
<Title>
<samp>{selectedProps[0] as string | number}</samp> vs{' '}
<samp>{selectedProps[1] as string | number}</samp>
</Title>
) : (
<Title id={`${selectedProps[0] as string}`}>
<Title>
<samp>{selectedProps[0] as string | number}</samp>
</Title>
)}
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/stories/storyTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function StoryTypes(props: StoryTypesProps) {

return (
<Fragment>
<StoryTitle id="api-reference">API Reference</StoryTitle>
<StoryTitle>API Reference</StoryTitle>
<p>{props.types?.description}</p>
<StoryTypesSearchContainer>
<InputGroup>
Expand Down

0 comments on commit 74e7c9e

Please sign in to comment.