Commit 98d56787 authored by Martin Santangelo's avatar Martin Santangelo

(fix) error null is not a number

parent b7b85664
......@@ -207,7 +207,7 @@ export default class Lock extends PureComponent<PropsType> {
*/
getFormatedAmount(): string {
const entity = this.props.entity;
if (entity.wire_threshold) {
if (entity.wire_threshold && entity.wire_threshold.min) {
return currency(
entity.wire_threshold.min,
entity.wire_threshold.type,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment