Skip to content

Commit

Permalink
fix Alert key
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Dec 1, 2023
1 parent 5c1bbc6 commit ccd8777
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/Alert/react/AlertReact.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,8 @@ const AlertStory = () => {
customIcon={IconArrowRight}
/>
{(['xs', 'sm', 'md', 'lg'] as const).map((size) => (
<>
<React.Fragment key={`alert-9-${size}`}>
<Alert
key={`alert-9-${size}`}
variant="error"
title={`${size} - Lorem ipsum dolor sit amet`}
data-cy="alert-size"
Expand All @@ -134,7 +133,7 @@ const AlertStory = () => {
data-cy="alert-size"
size={size}
/>
</>
</React.Fragment>
))}
</div>
)
Expand Down

0 comments on commit ccd8777

Please sign in to comment.