Skip to content

Commit 26280ed

Browse files
committed
Fix icon duplicate name error
1 parent 37d6277 commit 26280ed

File tree

1 file changed

+1
-1
lines changed
  • plugin/assets/src/block-editor/components/icon-picker

1 file changed

+1
-1
lines changed

plugin/assets/src/block-editor/components/icon-picker/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default ( { currentIcon, onChange } ) => {
5757
: '';
5858

5959
return (
60-
<div key={ rawIcons[ icon ].name } className="icons-container__icon">
60+
<div key={ rawIcons[ icon ].hex } className="icons-container__icon">
6161
<Tooltip text={ rawIcons[ icon ].name }>
6262
<button
6363
type="button"

0 commit comments

Comments
 (0)