React.Fragment reported an error

react.Fragment error display Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.

tried to use the upgraded version and found that there was still an error

< React.Fragment >

    <div className={styles.rowContainer}>{this.renderRowLeft()}</div>
    <div className="segmenting-line" />
    <div className={styles.rowContainer}>{this.renderRowRight()}</div>
  </React.Fragment>

does anyone know the problem

Aug.05,2021

this error says that the element type should be string,class or function, but you don't reply anything.
check whether your styles.rowContainer and this.renderRowLeft/Right return values

Menu