mirror of
https://github.com/ascribe/onion.git
synced 2024-12-23 01:39:36 +01:00
Change nested destructuring formatting
This commit is contained in:
parent
07834414c7
commit
2381bd22ac
@ -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;
|
||||||
|
@ -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'));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user