diff --git a/apps/client/src/widgets/dialogs/include_note.tsx b/apps/client/src/widgets/dialogs/include_note.tsx index 882c82125..c01d0c856 100644 --- a/apps/client/src/widgets/dialogs/include_note.tsx +++ b/apps/client/src/widgets/dialogs/include_note.tsx @@ -70,7 +70,7 @@ export default function IncludeNoteDialog() { ) } -async function includeNote(notePath: string, textTypeWidget: EditableTextTypeWidget, boxSize: BoxSize) { +async function includeNote(notePath: string, editorApi: CKEditorApi, boxSize: BoxSize) { const noteId = tree.getNoteIdFromLink(notePath); if (!noteId) { return;