diff --git a/.eslintrc b/.eslintrc index 00a1c024..4750ebfa 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,6 +11,7 @@ "flowtype" ], "rules": { + "eqeqeq": 2, "no-unused-vars": 2, // // Bring back after we remove CSS Modules 100% // "import/order": "warn", diff --git a/frontend/components/PublishingInfo/PublishingInfo.js b/frontend/components/PublishingInfo/PublishingInfo.js index ed0428b5..9b4d245c 100644 --- a/frontend/components/PublishingInfo/PublishingInfo.js +++ b/frontend/components/PublishingInfo/PublishingInfo.js @@ -52,7 +52,7 @@ class PublishingInfo extends Component { ))} } - {createdAt == updatedAt + {createdAt === updatedAt ? {createdBy.name} {' '}