1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 17:33:14 +01:00

Change nested destructuring formatting

This commit is contained in:
Brett Sun 2015-12-02 16:05:21 +01:00
parent 07834414c7
commit 2381bd22ac
2 changed files with 7 additions and 4 deletions

View File

@ -51,8 +51,10 @@ let MarketPieceList = React.createClass({
render() { render() {
const { const {
currentUser: { email: userEmail }, currentUser: { email: userEmail },
whitelabel: { name: whitelabelName = 'Market', user: whitelabelAdminEmail } whitelabel: {
} = this.state; name: whitelabelName = 'Market',
user: whitelabelAdminEmail
} } = this.state;
let filterParams = null; let filterParams = null;
let canLoadPieceList = false; let canLoadPieceList = false;

View File

@ -117,8 +117,9 @@ let MarketRegisterPiece = React.createClass({
const { const {
isFineUploaderActive, isFineUploaderActive,
step, step,
whitelabel: { name: whitelabelName = 'Market' } whitelabel: {
} = this.state; name: whitelabelName = 'Market'
} } = this.state;
setDocumentTitle(getLangText('Register a new piece')); setDocumentTitle(getLangText('Register a new piece'));