fix: resolve all 6 prefer-const eslint errors for CI
This commit is contained in:
@@ -41,7 +41,7 @@ async function getParentContext(
|
||||
include: { note: { select: { id: true, title: true, content: true } } },
|
||||
})
|
||||
|
||||
let noteIds = refs.map(r => r.noteId).filter(Boolean) as string[]
|
||||
const noteIds = refs.map(r => r.noteId).filter(Boolean) as string[]
|
||||
|
||||
const notes: ParentNoteRef[] = refs.map(r => ({
|
||||
noteId: r.noteId,
|
||||
|
||||
Reference in New Issue
Block a user