When I try to save my component in React the following happens:
import React from "react";
const Product = () => {
return;
<div>
<h1>hello i'm testing</h1>
</div>;
};
export default Product;
Everytime I save my component it automatically adds a semicolon at the end of each line, even if I don't need them. Expected result would be:
import React from "react";
const Product = () => {
return
<div>
<h1>hello i'm testing</h1>
</div>
}
export default Product
This is the first time that happens to me and I don't have a clue. I'm a noob here.