Skip to content

Commit 47dfca9

Browse files
committed
fix(resolveConfig): mistakenly using camelized key as value
1 parent f381ae5 commit 47dfca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resolveConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function resolveConfig(
7777
} else {
7878
const camelizedKey = kebabToCamel(k)
7979
if (propsList.includes(camelizedKey)) {
80-
res.props[k] = camelizedKey
80+
res.props[camelizedKey] = config[k]
8181
} else {
8282
res.attrs[k] = config[k]
8383
}

0 commit comments

Comments
 (0)