From 46220c927b865acd4c1585111b201c45888c57f4 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 19 Oct 2021 20:01:35 +0200 Subject: [PATCH] Fix typo error in css.js --- css.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css.js b/css.js index dd8ed26..671437b 100644 --- a/css.js +++ b/css.js @@ -23,7 +23,7 @@ const walkStyles = (styles, trail=[], buffer=[]) => { const rules = Array.isArray(children) ? children.map(e => Array.isArray(e) ? e.map(e => e.toString()).join(' ') : e.toString()).join(", ") : children.toString() - inner.push(`${keyToPropName(name)}: ${children}`) + inner.push(`${keyToPropName(name)}: ${rules}`) } }) if (inner) buffer[position] = (`${diversify("", ...trail)} {${inner.join("; ")}}`)