@kaspernj/api-maker 1.0.239 → 1.0.240

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  ]
17
17
  },
18
18
  "name": "@kaspernj/api-maker",
19
- "version": "1.0.239",
19
+ "version": "1.0.240",
20
20
  "type": "module",
21
21
  "description": "",
22
22
  "main": "index.js",
@@ -165,7 +165,7 @@ export default class ApiMakerInputsMoney extends React.PureComponent {
165
165
  let cents = parseInt(whole * 100, 10)
166
166
  let oldCents = parseInt(inputElement.value, 10)
167
167
 
168
- if (cents) {
168
+ if (typeof cents == "number") {
169
169
  inputElement.value = cents
170
170
  } else {
171
171
  inputElement.value = ''