Skip to content

Commit 56246e2

Browse files
committed
always run setIcon when multicolor
1 parent 5dc9138 commit 56246e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/block-components/icon/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,9 @@ export const Icon = props => {
211211
if ( processedIconRef.current === _icon && _icon ) {
212212
dispatch( 'stackable/page-icons' ).removePageIcon( _icon )
213213
processedIconRef.current = null
214-
setIcon( _icon ) // Use the original icon directly
215-
lastIconValueRef.current = _icon
216214
}
215+
setIcon( _icon ) // Use the original icon directly
216+
lastIconValueRef.current = _icon
217217
return
218218
}
219219

0 commit comments

Comments
 (0)