Skip to content

Commit

Permalink
Clearer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed Sep 25, 2024
1 parent 98a97f9 commit d21cb0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prosemirror-client/src/cqlInput/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export const tokensToDoc = (_tokens: ProseMirrorToken[]): Node => {
) {
// If there is a gap between the previous searchText token and EOF,
// there is whitespace at the end of the query – preserve at most
// one char.
// one char to allow users to continue the query
return acc
.slice(0, acc.length - 1)
.concat(
Expand Down

0 comments on commit d21cb0f

Please sign in to comment.