aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/preview/ReaderView.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/components/dashboard/preview/ReaderView.tsx')
-rw-r--r--apps/web/components/dashboard/preview/ReaderView.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/web/components/dashboard/preview/ReaderView.tsx b/apps/web/components/dashboard/preview/ReaderView.tsx
index 1974626a..f2f843ee 100644
--- a/apps/web/components/dashboard/preview/ReaderView.tsx
+++ b/apps/web/components/dashboard/preview/ReaderView.tsx
@@ -105,6 +105,7 @@ export default function ReaderView({
updateHighlight({
highlightId: h.id,
color: h.color,
+ note: h.note,
})
}
onHighlight={(h) =>
@@ -114,7 +115,7 @@ export default function ReaderView({
color: h.color,
bookmarkId,
text: h.text,
- note: null,
+ note: h.note ?? null,
})
}
/>