Skip to content

Commit 5854cfa

Browse files
committed
Fix CAUTION/WARNING rendering
1 parent e097aea commit 5854cfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/preview/ChecklistRenderer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function NoteRow({ item, baseY }: { item: NoteItem; baseY: number }) {
171171
return (
172172
<g>
173173
<Tick x={12} y={baseY + 9} />
174-
{item.type !== "note" && (
174+
{item.level !== "note" && (
175175
<rect x={260} y={baseY + 10} width={194} height={35} fill="none" stroke={borderColor} strokeWidth={2} />
176176
)}
177177
<T x={357} y={baseY + 38} anchor="middle">

0 commit comments

Comments
 (0)