diff --git a/app/components/error_text/error_text.js b/app/components/error_text/error_text.js index 3968265f158..b582ec90e27 100644 --- a/app/components/error_text/error_text.js +++ b/app/components/error_text/error_text.js @@ -25,8 +25,8 @@ export default class ErrorText extends PureComponent { const style = getStyleSheet(theme); - if (error.hasOwnProperty('intl')) { - const {intl} = error; + const {intl} = error; + if (intl) { return (