From 7ac26365b2c3099a623319815729dcf1f9042dfb Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 14 Dec 2022 09:59:27 +0800 Subject: [PATCH] Use let instead of var --- packages/web/lib/highlights/highlightGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/lib/highlights/highlightGenerator.ts b/packages/web/lib/highlights/highlightGenerator.ts index d50631188..09806c835 100644 --- a/packages/web/lib/highlights/highlightGenerator.ts +++ b/packages/web/lib/highlights/highlightGenerator.ts @@ -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