Color function setState in jsx - useState

Hello. In jsx files, the function for changing the state does not match what is specified in the Color Scheme. It's supposed to be orange. If I change to tsx, then the color becomes the right one.

Thanks

0
4 comments

It's highlighted as a variable; would you prefer it being highlighted as a function instead?

0

Of course. TypeScript highlights it that way. It's comfortable.

0

Thank you very much

0

Please sign in to leave a comment.