diff --git a/js/components/coa_verify_container.js b/js/components/coa_verify_container.js index 6d0af0fa..4a270cf4 100644 --- a/js/components/coa_verify_container.js +++ b/js/components/coa_verify_container.js @@ -27,7 +27,7 @@ let CoaVerifyContainer = React.createClass({ return (
-----BEGIN PUBLIC KEY----- @@ -60,9 +60,8 @@ let CoaVerifyForm = React.createClass({ }, handleSuccess(response){ - let notification = null; if (response.verdict) { - notification = new GlobalNotificationModel(getLangText('Certificate of Authenticity successfully verified'), 'success'); + const notification = new GlobalNotificationModel(getLangText('Certificate of Authenticity successfully verified'), 'success'); GlobalNotificationActions.appendGlobalNotification(notification); } }, @@ -71,46 +70,44 @@ let CoaVerifyForm = React.createClass({ const { message, signature } = this.props; return ( -); } }); diff --git a/js/components/whitelabel/wallet/wallet_routes.js b/js/components/whitelabel/wallet/wallet_routes.js index a5a0e075..b4e3c7ea 100644 --- a/js/components/whitelabel/wallet/wallet_routes.js +++ b/js/components/whitelabel/wallet/wallet_routes.js @@ -77,7 +77,7 @@ let ROUTES = { component={ProxyHandler(AuthRedirect({to: '/login', when: 'loggedOut'}))(CylandPieceList)} headerTitle='COLLECTION' />- -+