diff --git a/src/components/StyledAccountTypeIcon.tsx b/src/components/StyledAccountTypeIcon.tsx index 9b9a3ad979..2b3ee3185f 100644 --- a/src/components/StyledAccountTypeIcon.tsx +++ b/src/components/StyledAccountTypeIcon.tsx @@ -4,13 +4,9 @@ import React from 'react' import { Icon } from '@mxenabled/mxui' import { useTokens } from '@kyper/tokenprovider' -import { Check } from '@kyper/icon/Check' import { Growth } from '@kyper/icon/Growth' -import { Home } from '@kyper/icon/Home' -import { Notarized } from '@kyper/icon/Notarized' import { Image } from '@kyper/icon/Image' import { Health } from '@kyper/icon/Health' -import { Grid } from '@kyper/icon/Grid' import { AccountTypes } from 'src/views/manualAccount/constants' @@ -31,7 +27,7 @@ export const StyledAccountTypeIcon: React.FC = ({ const getIcon = () => { switch (props.icon) { case AccountTypes.CHECKING: - return + return case AccountTypes.SAVINGS: return case AccountTypes.LOAN: @@ -41,9 +37,9 @@ export const StyledAccountTypeIcon: React.FC = ({ case AccountTypes.INVESTMENT: return case AccountTypes.LINE_OF_CREDIT: - return + return case AccountTypes.MORTGAGE: - return + return case AccountTypes.PROPERTY: return case AccountTypes.CASH: @@ -53,7 +49,7 @@ export const StyledAccountTypeIcon: React.FC = ({ case AccountTypes.PREPAID: return case AccountTypes.UNKNOWN: - return + return case 'accounts': return default: diff --git a/src/views/manualAccount/ManualAccountMenu.js b/src/views/manualAccount/ManualAccountMenu.js index 3a458ecfbf..a620af717e 100644 --- a/src/views/manualAccount/ManualAccountMenu.js +++ b/src/views/manualAccount/ManualAccountMenu.js @@ -5,13 +5,9 @@ import { __ } from 'src/utilities/Intl' import { useTokens } from '@kyper/tokenprovider' import { Icon, Text } from '@mxenabled/mxui' import { UtilityRow } from '@kyper/utilityrow' -import { Check } from '@kyper/icon/Check' import { Growth } from '@kyper/icon/Growth' -import { Home } from '@kyper/icon/Home' -import { Notarized } from '@kyper/icon/Notarized' import { Image } from '@kyper/icon/Image' import { Health } from '@kyper/icon/Health' -import { Grid } from '@kyper/icon/Grid' import { fadeOut } from 'src/utilities/Animation' @@ -46,18 +42,18 @@ export const ManualAccountMenu = React.forwardRef((props, ref) => { ] const getIcon = { - [AccountTypes.CHECKING]: , + [AccountTypes.CHECKING]: , [AccountTypes.SAVINGS]: , [AccountTypes.LOAN]: , [AccountTypes.CREDIT_CARD]: , [AccountTypes.INVESTMENT]: , - [AccountTypes.LINE_OF_CREDIT]: , - [AccountTypes.MORTGAGE]: , + [AccountTypes.LINE_OF_CREDIT]: , + [AccountTypes.MORTGAGE]: , [AccountTypes.PROPERTY]: , [AccountTypes.CASH]: , [AccountTypes.INSURANCE]: , [AccountTypes.PREPAID]: , - [AccountTypes.UNKNOWN]: , + [AccountTypes.UNKNOWN]: , } useEffect(() => { diff --git a/typings/kyper.d.ts b/typings/kyper.d.ts index 007cc8f200..73e3852f81 100644 --- a/typings/kyper.d.ts +++ b/typings/kyper.d.ts @@ -4,17 +4,13 @@ declare module '@kyper/userfeedback' declare module '@kyper/textarea' declare module '@kyper/input' declare module '@kyper/icon/Accounts' -declare module '@kyper/icon/Check' declare module '@kyper/icon/PiggyBankOutline' declare module '@kyper/icon/Document' declare module '@kyper/icon/CreditCard' declare module '@kyper/icon/Dollar' declare module '@kyper/icon/Growth' -declare module '@kyper/icon/Home' -declare module '@kyper/icon/Notarized' declare module '@kyper/icon/Image' declare module '@kyper/icon/Health' -declare module '@kyper/icon/Grid' declare module '@kyper/progressindicators' declare module '@kyper/utilityrow' declare module '@kyper/hooks'