Skip to content

Commit

Permalink
chore: more concise example
Browse files Browse the repository at this point in the history
  • Loading branch information
danielo515 committed Dec 22, 2023
1 parent 4ed91be commit 6cf87c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/advanced-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ snippet in a templater template, substituting the name of your form:
app.fileManager.processFrontMatter(
tp.config.target_file,
frontmatter => {
frontmatter = Object.assign(frontmatter, data);
return frontmatter;
Object.assign(frontmatter, data);
},
);
%>
Expand Down

0 comments on commit 6cf87c6

Please sign in to comment.