From 58ec4ca39f0578f564f8a311d66c026edeed5a03 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 16 Apr 2025 20:37:59 -0400 Subject: [PATCH] spelling: node Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../rendering-elements/shapes/handDrawnShapeStyles.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.ts b/packages/mermaid/src/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.ts index 8b7ad9ca7..99dedd919 100644 --- a/packages/mermaid/src/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.ts +++ b/packages/mermaid/src/rendering-util/rendering-elements/shapes/handDrawnShapeStyles.ts @@ -17,7 +17,7 @@ export const solidStateFill = (color: string) => { export const compileStyles = (node: Node) => { // node.cssCompiledStyles is an array of strings in the form of 'key: value' where key is the css property and value is the value - // the array is the styles of node node from the classes it is using + // the array is the styles of node from the classes it is using // node.cssStyles is an array of styles directly set on the node // concat the arrays and remove duplicates such that the values from node.cssStyles are used if there are duplicates const stylesMap = styles2Map([...(node.cssCompiledStyles || []), ...(node.cssStyles || [])]);