Formatted whole app

This commit is contained in:
liamcardenas 2018-03-08 23:06:15 -08:00
parent 9584848077
commit 0c833a727e
6 changed files with 12 additions and 16 deletions

View file

@ -13,7 +13,7 @@ class FileList extends React.PureComponent {
};
this._sortFunctions = {
dateNew: (fileInfos) =>
dateNew: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
@ -24,7 +24,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
dateOld: (fileInfos) =>
dateOld: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const height1 = this.props.claimsById[fileInfo1.claim_id].height;
const height2 = this.props.claimsById[fileInfo2.claim_id].height;
@ -35,7 +35,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
title: (fileInfos) =>
title: fileInfos =>
fileInfos.slice().sort((fileInfo1, fileInfo2) => {
const title1 = fileInfo1.value
? fileInfo1.value.stream.metadata.title.toLowerCase()
@ -50,7 +50,7 @@ class FileList extends React.PureComponent {
}
return 0;
}),
filename: (fileInfos) =>
filename: fileInfos =>
fileInfos.slice().sort(({ file_name: fileName1 }, { file_name: fileName2 }) => {
const fileName1Lower = fileName1.toLowerCase();
const fileName2Lower = fileName2.toLowerCase();

View file

@ -33,9 +33,7 @@ class UserPhoneVerify extends React.PureComponent {
<Form onSubmit={this.handleSubmit.bind(this)}>
<p>
{__(
`Please enter the verification code sent to +${countryCode}${
phone
}. Didn't receive it? `
`Please enter the verification code sent to +${countryCode}${phone}. Didn't receive it? `
)}
<Link onClick={this.reset.bind(this)} label="Go back." />
</p>

View file

@ -277,9 +277,7 @@ export function doLoadVideo(uri) {
});
dispatch(
doAlertError(
`Failed to download ${
uri
}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
`Failed to download ${uri}, please try again. If this problem persists, visit https://lbry.io/faq/support for support.`
)
);
});