If you try to comment something in a react file it would result in a javascript comment

Problem description:
When I tried to comment a JSX component, it resulted in a normal javascript comment

Expected behavior:
It should have commented it like this

Steps to reproduce:
Create a react repl and try to comment jsx

1 Like

It looks to me like the bug may actually be related to collapsing the element. Could you test this?

image
No that’s not the problem

Thanks for reporting this issue to us! I’ll pass it along to the workspace team!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.