Use let instead of var

This commit is contained in:
Jackson Harper
2023-03-08 19:30:24 +08:00
parent e8977158b2
commit 02dedbcc40

View File

@ -257,7 +257,7 @@ function HighlightsMenu(props: HighlightsMenuProps): JSX.Element {
}
export function highlightAsMarkdown(highlight: Highlight) {
var buffer = `> ${highlight.quote}`
let buffer = `> ${highlight.quote}`
if (highlight.annotation) {
buffer += `\n\n${highlight.annotation}`
}