Skip to content

Commit

Permalink
Fix wrong logic for highlighting Languages select
Browse files Browse the repository at this point in the history
  • Loading branch information
cheeaun committed May 28, 2024
1 parent 0a4aae5 commit b6a64b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/compose.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1364,7 +1364,7 @@ function Compose({
class={`toolbar-button ${
language !== prevLanguage.current ||
(autoDetectedLanguages?.length &&
autoDetectedLanguages.includes(language))
!autoDetectedLanguages.includes(language))
? 'highlight'
: ''
}`}
Expand Down

0 comments on commit b6a64b6

Please sign in to comment.