Skip to content

Commit b2ab34c

Browse files
fixed linting issue
Co-authored-by: Shahir Ahmed <ahmeds@dickinson.edu>
1 parent 55e1dd0 commit b2ab34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mermaid/src/diagrams/user-journey/journeyRenderer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function drawActorLegend(diagram) {
8080
y: yPos + 7 + index * 20,
8181
fill: '#666',
8282
text: line,
83-
textMargin: conf.boxTextMargin || 5,
83+
textMargin: conf.boxTextMargin ?? 5,
8484
};
8585
svgDraw.drawText(diagram, labelData);
8686
});

0 commit comments

Comments
 (0)