mirror of
https://github.com/zadam/trilium.git
synced 2025-12-21 14:54:24 +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">
|
<span className="highlights-list">
|
||||||
<ol>
|
<ol>
|
||||||
{highlights.map(highlight => (
|
{highlights.map(highlight => (
|
||||||
<li onClick={() => scrollToHighlight(highlight)}>
|
<li
|
||||||
|
key={highlight.id}
|
||||||
|
onClick={() => scrollToHighlight(highlight)}
|
||||||
|
>
|
||||||
<span
|
<span
|
||||||
style={{
|
style={{
|
||||||
fontWeight: highlight.attrs.bold ? "700" : undefined,
|
fontWeight: highlight.attrs.bold ? "700" : undefined,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user