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:
parent
07834414c7
commit
2381bd22ac
@ -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;
|
||||
|
@ -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'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user