Skip to content

Commit

Permalink
fix random generated key in alert story
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Oct 30, 2024
1 parent 309e6c9 commit 0caf237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/building-blocks/src/stories/alerts.story.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@ const alerts = [
}
];

const alertKey = crypto.randomUUID();

const AlertContent = () => {
return (
<>
{alerts.map((alert, i) => {
const alertKey = crypto.randomUUID();
return (
<>
<div key={alertKey}>
Expand Down

0 comments on commit 0caf237

Please sign in to comment.