Use let instead of var

This commit is contained in:
Jackson Harper 2022-12-14 09:59:27 +08:00
parent 39c8b82939
commit 7ac26365b2

View file

@ -67,7 +67,7 @@ function nodeAttributesFromHighlight(
const patch = highlight.patch
const id = highlight.id
const withNote = !!highlight.annotation
var customColor = undefined
let customColor = undefined
const tooltip = undefined
// We've disabled shared highlights, so passing undefined
// here now, and removing the user object from highlights