Chore: add pre-commit hook for codespell (#5324)

This commit is contained in:
shamoon 2024-01-08 13:03:05 -08:00 committed by GitHub
parent 58bf9c552b
commit f525ac0af6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 60 additions and 53 deletions

View file

@ -82,7 +82,7 @@ export class DocumentCardLargeComponent extends ComponentWithPermissions {
// only show notes with a match
highlights = (this.document['__search_hit__'].note_highlights as string)
.split(',')
.filter((higlight) => higlight.includes('<span'))
.filter((highlight) => highlight.includes('<span'))
}
return highlights
}