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 committed Feb 13, 2024
1 parent 3e440c2 commit ab8dcb0
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 ab8dcb0

Please sign in to comment.