mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use let instead of var
This commit is contained in:
parent
e8977158b2
commit
02dedbcc40
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue