Skip to content

Commit

Permalink
fix: add text as key if url is empty in icons (#728)
Browse files Browse the repository at this point in the history
* fix: add text as key if url is empty in icons

* fix: add text as key if url is empty in icons

* fix: add text as key if url is empty in icons
  • Loading branch information
VitaliiDC8 authored Nov 30, 2023
1 parent f596047 commit 03f3660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocks/Icons/Icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const Icons = ({title, description, size = 's', colSizes = {all: 12}, items}: Ic
{itemContent}
</a>
) : (
<div className={b('item')} key={url}>
<div className={b('item')} key={text}>
{itemContent}
</div>
);
Expand Down

0 comments on commit 03f3660

Please sign in to comment.