diff --git a/src/renderer/component/address/view.jsx b/src/renderer/component/address/view.jsx index eff0f6697..2beadfda3 100644 --- a/src/renderer/component/address/view.jsx +++ b/src/renderer/component/address/view.jsx @@ -23,7 +23,7 @@ export default class Address extends React.PureComponent { const { address, doShowSnackBar } = this.props; return ( - + { ...inputProps } = this.props; + const errorMessage = typeof error === 'object' ? error.message : error; + let input; if (type) { if (type === 'select') { @@ -54,6 +56,8 @@ export class FormField extends React.PureComponent { /> ); + } else if (type === 'textarea') { + input =