From 6a5d7527aabce1f22cb4ff9b4eb9bb436fbb085c Mon Sep 17 00:00:00 2001 From: szerintedmi Date: Tue, 8 Sep 2020 12:16:04 +0100 Subject: [PATCH] fix compiler warnings --- src/components/augmint-ui/icon/index.js | 1 + src/containers/loan/components/LoanListDetails.js | 1 - src/containers/underthehood/LoansInfoGroup.js | 2 +- src/containers/underthehood/components/LoanManagerInfo.js | 2 +- src/modules/loanManagerProvider.js | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/augmint-ui/icon/index.js b/src/components/augmint-ui/icon/index.js index 60d58624..3b78d0ef 100644 --- a/src/components/augmint-ui/icon/index.js +++ b/src/components/augmint-ui/icon/index.js @@ -87,6 +87,7 @@ export default function Icon(props) { break; case "calendar": className += " fa fa-calendar-alt"; + break; default: break; } diff --git a/src/containers/loan/components/LoanListDetails.js b/src/containers/loan/components/LoanListDetails.js index 82f07c34..dd420e62 100644 --- a/src/containers/loan/components/LoanListDetails.js +++ b/src/containers/loan/components/LoanListDetails.js @@ -1,5 +1,4 @@ import React from "react"; -import { NavLink } from "react-router-dom"; import styled from "styled-components"; import moment from "moment"; import { default as theme, remCalc } from "styles/theme"; diff --git a/src/containers/underthehood/LoansInfoGroup.js b/src/containers/underthehood/LoansInfoGroup.js index 54c80f7f..39fa192f 100644 --- a/src/containers/underthehood/LoansInfoGroup.js +++ b/src/containers/underthehood/LoansInfoGroup.js @@ -2,7 +2,7 @@ import React from "react"; import { connect } from "react-redux"; import { Pgrid } from "components/PageLayout"; import LoanManagerInfo from "./components/LoanManagerInfo"; -import { ArrayDump, stringify } from "./components/ArrayDump"; +import { ArrayDump } from "./components/ArrayDump"; import loanManagerProvider from "modules/loanManagerProvider"; import { fetchAllLoans } from "modules/reducers/loans"; import store from "modules/store"; diff --git a/src/containers/underthehood/components/LoanManagerInfo.js b/src/containers/underthehood/components/LoanManagerInfo.js index a364081f..f0b67415 100644 --- a/src/containers/underthehood/components/LoanManagerInfo.js +++ b/src/containers/underthehood/components/LoanManagerInfo.js @@ -1,7 +1,7 @@ import React from "react"; import { connect } from "react-redux"; import { CopyToClipboard } from "react-copy-to-clipboard"; -import { utils, Tokens, Wei } from "@augmint/js"; +import { utils, Wei } from "@augmint/js"; import { Pblock, Psegment } from "components/PageLayout"; import Button from "components/augmint-ui/button"; diff --git a/src/modules/loanManagerProvider.js b/src/modules/loanManagerProvider.js index c5dc3ed0..8e719a0c 100644 --- a/src/modules/loanManagerProvider.js +++ b/src/modules/loanManagerProvider.js @@ -5,7 +5,7 @@ import store from "modules/store"; import { setupWatch } from "./initialFunctions.js"; import { fetchLockProducts } from "modules/reducers/lockManager"; import { refreshLoanManager, fetchLoanProducts, fetchLoansToCollect } from "modules/reducers/loanManager"; -import { fetchAllLoans, fetchLoansForAddress } from "modules/reducers/loans"; +import { fetchLoansForAddress } from "modules/reducers/loans"; import { refreshAugmintToken } from "modules/reducers/augmintToken"; import { fetchUserBalance } from "modules/reducers/userBalances"; import { refreshMonetarySupervisor } from "modules/reducers/monetarySupervisor";