Skip to content

Commit

Permalink
return invokation of command
Browse files Browse the repository at this point in the history
  • Loading branch information
Pontus Lundin authored and hontas committed Mar 4, 2024
1 parent e007001 commit 58be8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suggestion/src/suggestion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export function Suggestion<I = any>({
text: state.text,
items: [],
command: commandProps => {
command({
return command({
editor,
range: state.range,
props: commandProps,
Expand Down

0 comments on commit 58be8ce

Please sign in to comment.