fix(client): build error due to null

This commit is contained in:
Elian Doran 2025-03-03 23:40:32 +02:00
parent 3855f0e75f
commit c41fbe8e45
No known key found for this signature in database

View File

@ -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);