diff --git a/src/containers/paint-editor-wrapper.jsx b/src/containers/paint-editor-wrapper.jsx index e06e46be62f550a277932b2700efda3496b3db91..495df1a931c7ff64fe82a60c0fd05c2635c27da3 100644 --- a/src/containers/paint-editor-wrapper.jsx +++ b/src/containers/paint-editor-wrapper.jsx @@ -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 };