diff --git a/src/components/uploader/home.js b/src/components/uploader/home.js index 913aa83e..77bc599c 100644 --- a/src/components/uploader/home.js +++ b/src/components/uploader/home.js @@ -29,12 +29,10 @@ function createProgressTracker(progressStats, fileName, component) { ); const percentComplete = - (progress.sumTotalUploaded / progress.sumFilesize) * 100; + progress.sumTotalUploaded / progress.sumFilesize * 100; const percentDisplay = Math.round(percentComplete); const plural = progressStatsValues.length > 1 ? "s" : ""; - const uploadStatus = `Uploading ${ - progressStatsValues.length - } image${plural} (${percentDisplay}%).`; + const uploadStatus = `Uploading ${progressStatsValues.length} image${plural} (${percentDisplay}%).`; component.setState({ uploadProgress: percentComplete, uploadActive: true, @@ -479,9 +477,9 @@ export default createReactClass({ CC-BY 4.0 - , with attribution as contributors of Open Imagery Network, - unless further specified by a specific license. All imagery - is available to be traced in OpenStreetMap. + , with attribution as contributors of Open Imagery Network, + unless further specified by a specific license. All imagery is + available to be traced in OpenStreetMap.
diff --git a/src/components/user_page.js b/src/components/user_page.js index a1e9ba07..7ae63e02 100644 --- a/src/components/user_page.js +++ b/src/components/user_page.js @@ -109,7 +109,9 @@ export default createReactClass({