mirror of
https://github.com/zadam/trilium.git
synced 2025-12-07 16:04:23 +01:00
refactor(note-create): remove small redundancy
This commit is contained in:
parent
e582eeddb5
commit
114e06d4d2
@ -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