From e73d2b85dedceeb6853321c8956c0e1e6da40cac Mon Sep 17 00:00:00 2001 From: Brian Hoffman Date: Tue, 7 Jul 2020 07:08:53 -0400 Subject: [PATCH] Lint fixes --- js/views/components/moderators/Moderators.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/views/components/moderators/Moderators.js b/js/views/components/moderators/Moderators.js index 7e5b3c982..b8d972495 100644 --- a/js/views/components/moderators/Moderators.js +++ b/js/views/components/moderators/Moderators.js @@ -11,7 +11,7 @@ import baseVw from '../../baseVw'; import { openSimpleMessage } from '../../modals/SimpleMessage'; import ModCard from './Card'; import ModeratorsStatus from './Status'; -import bigNumber from "bignumber.js"; +import bigNumber from 'bignumber.js'; export default class extends baseVw { /** @@ -154,8 +154,8 @@ export default class extends baseVw { const modCurs = data.moderatorInfo && data.moderatorInfo.acceptedCurrencies || []; const supportedCur = anySupportedByWallet(modCurs); - if(data.moderatorInfo.fee.feeType == "FIXED_PLUS_PERCENTAGE" && - !(data.moderatorInfo.fee.fixedFee.amount instanceof bigNumber) ) { + if (data.moderatorInfo.fee.feeType === 'FIXED_PLUS_PERCENTAGE' && + !(data.moderatorInfo.fee.fixedFee.amount instanceof bigNumber)) { data.moderatorInfo.fee.fixedFee.amount = bigNumber(data.moderatorInfo.fee.fixedFee.amount); }