@@ -5,7 +5,7 @@ import lineColumn from 'line-column'
55import { isCssContext , isCssDoc } from './css'
66import { isHtmlContext , isVueDoc } from './html'
77import { isWithinRange } from './isWithinRange'
8- import { isJsxContext } from './js'
8+ import { isJsContext } from './js'
99import { dedupeByRange , flatten } from './array'
1010import { getClassAttributeLexer , getComputedClassAttributeLexer } from './lexers'
1111import { getLanguageBoundaries } from './getLanguageBoundaries'
@@ -526,7 +526,7 @@ export async function findClassNameAtPosition(
526526 classNames = await findClassNamesInRange ( state , doc , searchRange , 'css' )
527527 } else if ( isHtmlContext ( state , doc , position ) ) {
528528 classNames = await findClassNamesInRange ( state , doc , searchRange , 'html' )
529- } else if ( isJsxContext ( state , doc , position ) ) {
529+ } else if ( isJsContext ( state , doc , position ) ) {
530530 classNames = await findClassNamesInRange ( state , doc , searchRange , 'jsx' )
531531 } else {
532532 classNames = await findClassNamesInRange ( state , doc , searchRange )
0 commit comments