Skip to content

Commit

Permalink
fix(resolveConfig): mistakenly using camelized key as value
Browse files Browse the repository at this point in the history
  • Loading branch information
cloydlau committed Dec 7, 2023
1 parent f381ae5 commit 47dfca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resolveConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default function resolveConfig(
} else {
const camelizedKey = kebabToCamel(k)
if (propsList.includes(camelizedKey)) {
res.props[k] = camelizedKey
res.props[camelizedKey] = config[k]
} else {
res.attrs[k] = config[k]
}
Expand Down

0 comments on commit 47dfca9

Please sign in to comment.