I have a following code in React which I want to keep in a single line shown below:
<Title level={2} className="heading">Global Crypto Stats</Title>
However, on saving my file I get a code spread on multiple lines like that:
<Title level={2} className="heading">
Global Crypto Stats
</Title>
I'm not sure whether it is prettier or VSCode on safe function. Can't seem to find it. This isn't "Toggle Word Wrap" (Alt+Z) function.
0 Replies