Skip to content

Commit 08253e1

Browse files
committed
Fixing ui crash
1 parent 91d362f commit 08253e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/components/general/ControlPanelTreeItem.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const ControlPanelTreeItem = (props) => {
325325
event.preventDefault();
326326
setShowColorPicker(true)
327327
}}>
328-
<SquareIcon fillColor={getColor(nodeId).hex}/>
328+
<SquareIcon fillColor={getColor(nodeId)?.hex}/>
329329

330330
</IconButton>
331331
{showColorPicker && isHoveredOver

0 commit comments

Comments
 (0)