diff --git a/.eslintrc.json b/.eslintrc.json index 6cb89b4f4..22772a986 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -244,7 +244,7 @@ "dict", "dom", "dropdown", - "Endoser", + "Endorser", "enrolment", "Enzyme", "eslint", diff --git a/client/.eslintrc.json b/client/.eslintrc.json index b6c993374..36d957147 100644 --- a/client/.eslintrc.json +++ b/client/.eslintrc.json @@ -19,7 +19,13 @@ "no-console": "off", "react/prop-types": "off", "no-undef": "off", - "react/react-in-jsx-scope": "off" + "react/react-in-jsx-scope": "off", + "object-curly-newline": [ + "error", + { + "ImportDeclaration": "never" + } + ] }, "settings": { "react": { diff --git a/client/src/components/View/TransactionView.js b/client/src/components/View/TransactionView.js index e9505901e..c6dde6fe6 100644 --- a/client/src/components/View/TransactionView.js +++ b/client/src/components/View/TransactionView.js @@ -151,7 +151,7 @@ export class TransactionView extends Component { {transaction.creator_msp_id} - Endoser: + Endorser: {transaction.endorser_msp_id}