From c41fbe8e45d9b1e3f28734901671b1a3a91d597f Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 3 Mar 2025 23:40:32 +0200 Subject: [PATCH] fix(client): build error due to null --- src/public/app/components/tab_manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/app/components/tab_manager.js b/src/public/app/components/tab_manager.js index 7a7b2f2cf..46a0f9d96 100644 --- a/src/public/app/components/tab_manager.js +++ b/src/public/app/components/tab_manager.js @@ -248,7 +248,7 @@ export default class TabManager extends Component { await noteContext.setEmpty(); } - async openEmptyTab(ntxId = null, hoistedNoteId = "root", mainNtxId = null) { + async openEmptyTab(ntxId = null, hoistedNoteId = "root", mainNtxId) { const noteContext = new NoteContext(ntxId, hoistedNoteId, mainNtxId); const existingNoteContext = this.children.find((nc) => nc.ntxId === noteContext.ntxId);