I have AboutMeText state and it successfully updated by props, I successfully display its value <h6>{this.state.AboutMeText}</h6> but when I try to pass this state value into model its value became null. I already tried
{this.state.AboutMeText} or {this.props.AboutMeText} but not work
Please help me sir i am new in react js
<DIV className="template-profile">
<Image
url={this.state.selectedImages.profilePicture}
mode={"Profile"}
/>
<h6>Hello I'm</h6>
<h1 className="template-profile-name">
Nabnit Jha
</h1>
<h6>
{this.state.AboutMeText} // here state value display successfully
</h6>
<DIV className="template-self-info">
<Modals modalBody={this.state.AboutMeText} modalHeading="About Me"></Modals> // here state value became null
</DIV>
</DIV>