Search code examples
reactjsvisual-studio-code

Code is breaking after I clicked Ctrl+S in VSCode


If I'm clicking CTRL + S in VSCode, the code is breaking. Please see the screenshots

Before

enter image description here

After I clicked CTRL+S

enter image description here


Solution

  • Make sure you have install the extension .Please check at the bottom of you Vs code . It should be JavaScript React. If it is not , select JavaScript React from the list