Prettier removes "React" import on pressing save button ( Ctrl + S ). How to fix this?

Viewed 476

On pressing CTRL + S , prettier removes React import from tsx files, assuming its not used in the file.

How to fix this ?

Issue

1 Answers
Related