1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +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() {
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;

View File

@ -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'));