Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffmabc committed Jul 7, 2020
1 parent a4765e8 commit e73d2b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/views/components/moderators/Moderators.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit e73d2b8

Please sign in to comment.