const { module } = this.props;
return(
<div className="Card">
<Link to=`/${module}/detail`></Link>
</div>
)
What's wrong with above syntax? I got error of JSX value should be either an expression or a quoted JSX text
const { module } = this.props;
return(
<div className="Card">
<Link to=`/${module}/detail`></Link>
</div>
)
What's wrong with above syntax? I got error of JSX value should be either an expression or a quoted JSX text