I am getting an below error. I can see that I have to return array instead of object. But I am really not sure how to fix it. Thanks in advance
Object
timeElapsed is an object, React doesn't know how to render this:
{this.state.timeElapsed}
Try changing this.state.timeElapsed for a string like for example:
this.state.timeElapsed
{this.state.timeElapsed.toString()}