diff --git a/js/components/ascribe_detail/edition.js b/js/components/ascribe_detail/edition.js index 191cfe87..0879dea0 100644 --- a/js/components/ascribe_detail/edition.js +++ b/js/components/ascribe_detail/edition.js @@ -233,9 +233,9 @@ let CoaDetails = React.createClass({ }, render() { - const { coa = {}, coaError } = this.props; - + const { coa, coaError } = this.props; let coaDetailElement; + if (coaError) { coaDetailElement = [

{getLangText('There was an error generating your Certificate of Authenticity.')}

, @@ -244,7 +244,7 @@ let CoaDetails = React.createClass({ {getLangText('contact us')}.

]; - } else if (coa.url_safe) { + } else if (coa && coa.url_safe) { coaDetailElement = [