SPENCER BACAY
SPENCER BACAY

Reputation: 29

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

Upvotes: 0

Views: 1200

Answers (2)

Lavanya
Lavanya

Reputation: 1

Change file extension ".js" to ".jsx"

Upvotes: -1

user14698598
user14698598

Reputation:

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

Upvotes: 1

Related Questions