DEV Community

Saad-py
Saad-py

Posted on

JSX {} on a <p> put the text out on a new Line

Hello,
I have a div with some

tags and
tags.
My paragraph looks like this <p> Your Position {value} <p/>
And I have binded a button to change the variable value, the paragraph displays fine but it adds a new line before the JSX {} and its annoying and doesn't looks nice

Top comments (0)