spelling: node

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2025-04-16 20:37:59 -04:00
parent 7e3d547094
commit 58ec4ca39f

View File

@@ -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 || [])]);