Skip to content

Build your personal knowledge base with Trilium Notes

chore(client): fix some whitespace issues

Elian Doranddd4a374e4da
diff --git a/apps/client/src/services/note_types.ts b/apps/client/src/services/note_types.ts
index 7f28f01f69..950036320a 100644
--- a/apps/client/src/services/note_types.ts
+++ b/apps/client/src/services/note_types.ts
@@ -97,7 +97,7 @@ function getBlankNoteTypes(command?: TreeCommandNames): MenuItem<TreeCommandName
title: nt.title,
command,
type: nt.type,
- uiIcon: `bx ${ nt.icon}`,
+ uiIcon: `bx ${nt.icon}`,
badges: []
};
@@ -209,7 +209,7 @@ async function isNewTemplate(templateNoteId) {
if (creationDate === undefined) {
// The creation date isn't available in the cache, try to retrieve it from the server
try {
- const noteInfo: any = await server.get(`notes/${ templateNoteId}`);
+ const noteInfo: any = await server.get(`notes/${templateNoteId}`);
if ("dateCreated" in noteInfo) {
creationDate = new Date(noteInfo.dateCreated);
creationDateCache.set(templateNoteId, creationDate);
@@ -233,7 +233,6 @@ async function isNewTemplate(templateNoteId) {
return (age <= NEW_TEMPLATE_MAX_AGE);
}
return false;
-
}
export default {