Skip to content

Commit

Permalink
fix: smart controls numbers values
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Apr 25, 2020
1 parent f921ff9 commit 851a872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/core/src/smartControls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const controlFromProps = (
console.info(`${name}: `, arguments);
}
const defaultValue = propDef.defaultValue
? propDef.defaultValue.value
? propDef.defaultValue.value ?? propDef.defaultValue
: undefined;
switch (type) {
case 'string': {
Expand Down

0 comments on commit 851a872

Please sign in to comment.