diff --git a/src/components/StyledAccountTypeIcon.tsx b/src/components/StyledAccountTypeIcon.tsx index 2b3ee3185f..fb559268b0 100644 --- a/src/components/StyledAccountTypeIcon.tsx +++ b/src/components/StyledAccountTypeIcon.tsx @@ -4,9 +4,6 @@ import React from 'react' import { Icon } from '@mxenabled/mxui' import { useTokens } from '@kyper/tokenprovider' -import { Growth } from '@kyper/icon/Growth' -import { Image } from '@kyper/icon/Image' -import { Health } from '@kyper/icon/Health' import { AccountTypes } from 'src/views/manualAccount/constants' @@ -35,17 +32,17 @@ export const StyledAccountTypeIcon: React.FC = ({ case AccountTypes.CREDIT_CARD: return case AccountTypes.INVESTMENT: - return + return case AccountTypes.LINE_OF_CREDIT: return case AccountTypes.MORTGAGE: return case AccountTypes.PROPERTY: - return + return case AccountTypes.CASH: return case AccountTypes.INSURANCE: - return + return case AccountTypes.PREPAID: return case AccountTypes.UNKNOWN: diff --git a/src/views/manualAccount/ManualAccountMenu.js b/src/views/manualAccount/ManualAccountMenu.js index a620af717e..7849c7ba6c 100644 --- a/src/views/manualAccount/ManualAccountMenu.js +++ b/src/views/manualAccount/ManualAccountMenu.js @@ -2,12 +2,8 @@ import React, { useEffect } from 'react' import PropTypes from 'prop-types' import { __ } from 'src/utilities/Intl' -import { useTokens } from '@kyper/tokenprovider' import { Icon, Text } from '@mxenabled/mxui' import { UtilityRow } from '@kyper/utilityrow' -import { Growth } from '@kyper/icon/Growth' -import { Image } from '@kyper/icon/Image' -import { Health } from '@kyper/icon/Health' import { fadeOut } from 'src/utilities/Animation' @@ -20,7 +16,6 @@ import { StyledAccountTypeIcon } from 'src/components/StyledAccountTypeIcon' import { Stack } from '@mui/material' export const ManualAccountMenu = React.forwardRef((props, ref) => { - const tokens = useTokens() const getNextDelay = getDelay() const typeList = @@ -46,12 +41,12 @@ export const ManualAccountMenu = React.forwardRef((props, ref) => { [AccountTypes.SAVINGS]: , [AccountTypes.LOAN]: , [AccountTypes.CREDIT_CARD]: , - [AccountTypes.INVESTMENT]: , + [AccountTypes.INVESTMENT]: , [AccountTypes.LINE_OF_CREDIT]: , [AccountTypes.MORTGAGE]: , - [AccountTypes.PROPERTY]: , + [AccountTypes.PROPERTY]: , [AccountTypes.CASH]: , - [AccountTypes.INSURANCE]: , + [AccountTypes.INSURANCE]: , [AccountTypes.PREPAID]: , [AccountTypes.UNKNOWN]: , }