From f60aebaa769864abb997cf6fefa436132df7c0d3 Mon Sep 17 00:00:00 2001 From: rickcole Date: Mon, 10 Aug 2020 23:53:40 +0800 Subject: [PATCH] fix --- src/renderers/Form/Image.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/Form/Image.tsx b/src/renderers/Form/Image.tsx index 0c01de36..53c59661 100644 --- a/src/renderers/Form/Image.tsx +++ b/src/renderers/Form/Image.tsx @@ -774,7 +774,7 @@ export default class ImageControl extends React.Component< cb: (error: null | string, file: Blob, obj?: FileValue) => void, onProgress: (progress: number) => void ) { - const {translate: __} = this.props; + const __ = this.props.translate; this._send(file, this.props.reciever as string, {}, onProgress) .then((ret: Payload) => { if (ret.status) {