Kevin Powell - CommunityKP-C
Kevin Powell - Communityโ€ข3y agoโ€ข
7 replies
Pratik chauhan

Prettier is removing space between two jsx elements

how i should configure prettier to have a space between two jsx elements:

 Output while saving with prettier
   <h1>Lorem Ispum</h1>
   <h1>Lorem Ispum</h1>


 Expected Output while saving with prettier
  <h1>Lorem Ispum</h1>

  // space
  <h1>Lorem Ispum</h1>
Was this page helpful?