Skip to content

Commit

Permalink
refactor(block): use icon value as key instead of class for consisten…
Browse files Browse the repository at this point in the history
…cy (#9689)

**Related Issue:** N/A

## Summary

✨🧹✨
  • Loading branch information
jcfranco authored and benelan committed Jun 27, 2024
1 parent 47e28aa commit d22adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calcite-components/src/components/block/block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ export class Block
class={iconClass}
flipRtl={flipRtl}
icon={iconValue}
key={iconClass}
key={iconValue}
scale="s"
/>
);
Expand Down

0 comments on commit d22adfe

Please sign in to comment.