mirror of
https://github.com/zadam/trilium.git
synced 2025-12-20 14:24:27 +01:00
fix(highlights_list): missing key
This commit is contained in:
parent
d920da9e6f
commit
925049357a
@ -38,7 +38,10 @@ function AbstractHighlightsList<T extends RawHighlight>({ highlights, scrollToHi
|
||||
<span className="highlights-list">
|
||||
<ol>
|
||||
{highlights.map(highlight => (
|
||||
<li onClick={() => scrollToHighlight(highlight)}>
|
||||
<li
|
||||
key={highlight.id}
|
||||
onClick={() => scrollToHighlight(highlight)}
|
||||
>
|
||||
<span
|
||||
style={{
|
||||
fontWeight: highlight.attrs.bold ? "700" : undefined,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user