Check that costume exists before accessing
This commit is contained in:
1 parent
9d3c95812e
commit
8ea5cdce07
1 file changed
+1
-1
@@ -73,7 +73,7 @@ const mapStateToProps = (state, {selectedCostumeIndex}) => {
|
||||
name: costume && costume.name,
|
||||
rotationCenterX: costume && costume.rotationCenterX,
|
||||
rotationCenterY: costume && costume.rotationCenterY,
|
||||
imageFormat: costume.dataFormat,
|
||||
imageFormat: costume && costume.dataFormat,
|
||||
imageId: editingTarget && `${editingTarget}${costume.skinId}`,
|
||||
vm: state.vm
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user