React appears in ie10 unable to get the property "content" that is not defined or referenced by null

clipboard.png
this is my code
constructor (arg) {

super(arg);
this.state = {
  content: this.props.content.contentType === "common" ? this.props.content.content.slice(0, 4) : null,
  listIndex: 4,
  problemType: "common",
  events: this.props.ProfessionalProblemList,
  beginX: null,
  beginY: null,
  endX: null,
  endY: null
}

};

Mar.29,2021
In

ie, you need to modify this.props to arg, that is, the parameter declared in super

.
Menu