# Use normal JS comments within JSX tags and JSX expression blocks \(\#3290\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c6b76d908fb0a088ec1705e854408a92e6afe8aa)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c6b76d908fb0a088ec1705e854408a92e6afe8aa

Requested commit: c6b76d908fb0a088ec1705e854408a92e6afe8aa

Commit: c6b76d908fb0a088ec1705e854408a92e6afe8aa

Tree: 1ea551e12dc3387b2d1811b89bdb097a67ba6ae8

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Use normal JS comments within JSX tags and JSX expression blocks (#3290)

This fix only required changing the `overrides` queries for JavaScript
and TSX. I've made the fix in both the `zed2` and `zed` crates.

Release Notes:

- Fixed an issue in JavaScript and TSX files, where the 'toggle
comments' command used the wrong comment syntax inside of JSX tags and
expressions within JSX.
```

## Parents

- [72de5cb6cee64778bd9f8e1be6f6c310c0f3d832](https://git.cafe/gitcafe/zed/commit/72de5cb6cee64778bd9f8e1be6f6c310c0f3d832?format=markdown)

- [e50318e7e11634498bfd55f83b3dfb04b05bb750](https://git.cafe/gitcafe/zed/commit/e50318e7e11634498bfd55f83b3dfb04b05bb750?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c6b76d908fb0a088ec1705e854408a92e6afe8aa?format=markdown)
