mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
refactor(note-create): remove small redundancy
This commit is contained in:
parent
82a3be06d1
commit
3438f1103d
@ -125,7 +125,7 @@ async function createNote(
|
||||
}
|
||||
|
||||
return createNoteWithUrl(
|
||||
resolvedOptions.target as "into" | "after" | "before",
|
||||
resolvedOptions.target,
|
||||
resolvedOptions as CreateNoteWithUrlOpts
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user