I do not know why my code does not work it says the <div></div>
does not work.
render() {
return (
<div>
{this.props.isPrecise
? this.state.date.toISOString()
: this.state.date.toLocaleTimeString()}
</div>
);
}
I do not what to do because this is what i was thought in school.