Fix arrow-body-style eslint rule in ES6 files

[MAILPOET-1139]
This commit is contained in:
Pavel Dohnal
2017-12-06 14:16:41 +00:00
parent b08b53e9c0
commit e7ddfc3d29
26 changed files with 156 additions and 212 deletions

View File

@ -9,9 +9,7 @@ function handleFocus(event) {
function printData(data) {
if (_.isObject(data)) {
const printableData = Object.keys(data).map((key) => {
return `${key}: ${data[key]}`;
});
const printableData = Object.keys(data).map(key => `${key}: ${data[key]}`);
return (<textarea
readOnly={true}