Skip to content

Commit 22a9276

Browse files
committed
fix: add additional guard for parentUniqueId to sync its value with context
1 parent 07ac952 commit 22a9276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/block/icon-list-item/edit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const Edit = props => {
156156
openEvenIfUnselected={ true }
157157
hasLinearGradient={ false }
158158
/> }
159-
{ ! ordered && ! icon &&
159+
{ ! ordered && ! icon && parentUniqueId &&
160160
<Icon
161161
value={ getUseSvgDef( `#stk-icon-list__icon-svg-def-${ parentUniqueId }` ) }
162162
openEvenIfUnselected={ true }

0 commit comments

Comments
 (0)