Skip to content

Commit

Permalink
fixed pasting link in comments editor
Browse files Browse the repository at this point in the history
  • Loading branch information
iskaktoltay committed Jan 16, 2025
1 parent a03122d commit ac00c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export const Link = Mark.create<LinkOptions>({
}
plugins.push(
pasteHandler({
client: (this.options as any).queryClient,
// client: (this.options as any).queryClient,
grpcClient: (this.options as any).grpcClient,
gwUrl: (this.options as any).gwUrl,
editor: this.editor,
Expand Down
2 changes: 1 addition & 1 deletion frontend/apps/desktop/src/models/comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ export function useCommentEditor(
grpcClient,
openUrl,
gwUrl,
checkWebUrl: checkWebUrl.mutate,
checkWebUrl: checkWebUrl.mutateAsync,
},

onEditorReady: (e) => {
Expand Down

0 comments on commit ac00c5f

Please sign in to comment.