From 2381bd22ac1cc1181fed2356b6599664f60479de Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Wed, 2 Dec 2015 16:05:21 +0100 Subject: [PATCH] Change nested destructuring formatting --- .../wallet/components/market/market_piece_list.js | 6 ++++-- .../wallet/components/market/market_register_piece.js | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/js/components/whitelabel/wallet/components/market/market_piece_list.js b/js/components/whitelabel/wallet/components/market/market_piece_list.js index e45da164..647a84be 100644 --- a/js/components/whitelabel/wallet/components/market/market_piece_list.js +++ b/js/components/whitelabel/wallet/components/market/market_piece_list.js @@ -51,8 +51,10 @@ let MarketPieceList = React.createClass({ render() { const { currentUser: { email: userEmail }, - whitelabel: { name: whitelabelName = 'Market', user: whitelabelAdminEmail } - } = this.state; + whitelabel: { + name: whitelabelName = 'Market', + user: whitelabelAdminEmail + } } = this.state; let filterParams = null; let canLoadPieceList = false; diff --git a/js/components/whitelabel/wallet/components/market/market_register_piece.js b/js/components/whitelabel/wallet/components/market/market_register_piece.js index d68be85d..e02df80c 100644 --- a/js/components/whitelabel/wallet/components/market/market_register_piece.js +++ b/js/components/whitelabel/wallet/components/market/market_register_piece.js @@ -117,8 +117,9 @@ let MarketRegisterPiece = React.createClass({ const { isFineUploaderActive, step, - whitelabel: { name: whitelabelName = 'Market' } - } = this.state; + whitelabel: { + name: whitelabelName = 'Market' + } } = this.state; setDocumentTitle(getLangText('Register a new piece'));