Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jczhong84 committed Dec 10, 2024
1 parent d6b99d4 commit 439d0a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const useAutoCompleteExtension = ({
!columnValueToken && context.matchBefore(generalTokenRegex);

// no token before the cursor, don't open completions.
if (!columnValueToken?.text && !generalToken.text) return null;
if (!columnValueToken?.text && !generalToken?.text) return null;

// Get the cursor position in codemirror v5 format
const cursorPos = context.pos;
Expand Down

0 comments on commit 439d0a9

Please sign in to comment.