diff --git a/src/main.ts b/src/main.ts index 73761b73..8c364490 100644 --- a/src/main.ts +++ b/src/main.ts @@ -430,7 +430,7 @@ export default class BreadcrumbsPlugin extends Plugin { note: string; depth: number; children: string[]; - }[]; + }[] = []; if (this.settings.hierarchyNotes[0] !== "") { const currPath = this.app.workspace.getActiveFile().path; const contentArr = [];