I have got a problem with prettier's formatting, which when I'm saving the code, it will add annoying {" "}
to some parts of the jsx
code e.g.:
I've searched about it how to fix this issue, but couldn't find any solution, can anybody help on this?
update
On prettier's GitHub, there is a related issue that seems unresolved. https://github.com/prettier/prettier/issues/4223
update2
Here is the reprex: prettier playground