joule-extension
joule-extension copied to clipboard
App breaks when typing special char on value input
Description of the Issue
When creating a channel, if you type a special character like "-" after adding any numbers, in the capacity input, the app breaks.
Steps to Reproduce
See the above.
Description of Your Setup
Browser & version: Waterfox G4.0.6 (64-bit) Operating system: Linux 5.11 Manjaro Node software & version: Node 16 LTS
Console Logs / Screenshots
Error: Invalid character
a bn.js:6
c bn.js:274
_parseBase bn.js:310
_init bn.js:105
i bn.js:39
getValueError index.tsx:177
render index.tsx:106
React 8
unstable_runWithPriority scheduler.production.min.js:18
React 10
unstable_runWithPriority scheduler.production.min.js:18
React 3
[react-dom.production.min.js:216:199](webpack://joule-extension/node_modules/react-dom/cjs/react-dom.production.min.js)
Uncaught Error: Invalid character
a bn.js:6
c bn.js:274
_parseBase bn.js:310
_init bn.js:105
i bn.js:39
getValueError index.tsx:177
render index.tsx:106
React 8
unstable_runWithPriority scheduler.production.min.js:18
React 10
unstable_runWithPriority scheduler.production.min.js:18
React 3