React bug

Add Curley braces to be read as js and not html.

export default function CardMakerForCompanies() {
const data = [{img: 'https://play- 
0Esj_5jqBDpqcPm0LwDpcLA', name: 'Company Name(getting from db)', desc: 
'Company Description(getting from db, Max chars. 50) \\\ Lorem Ipsum Lorem 
 Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum'}];

const classes = useStyles();

  { => {
      return <Card className={classes.root}>
            <Typography gutterBottom variant="h5" component="h2">
            <Typography variant="body2" color="textSecondary" component="p">
          <Button size="small" color="primary">
            More Info


CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top