From d4b39896c211aae23b0d295f326cd37800ece1c7 Mon Sep 17 00:00:00 2001 From: Jameson Date: Fri, 21 Aug 2026 13:15:17 -0600 Subject: [PATCH 1/2] feat: updated Growth, Image, and Health icons to MXUI --- src/components/StyledAccountTypeIcon.tsx | 9 +++------ src/views/manualAccount/ManualAccountMenu.js | 11 +++-------- 2 files changed, 6 insertions(+), 14 deletions(-) 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..707e180b3e 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]: , } From 172f08378b77694e44b224956c1d6af0195e5fba Mon Sep 17 00:00:00 2001 From: Jameson Date: Fri, 21 Aug 2026 13:23:53 -0600 Subject: [PATCH 2/2] Fixed typos --- src/views/manualAccount/ManualAccountMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/manualAccount/ManualAccountMenu.js b/src/views/manualAccount/ManualAccountMenu.js index 707e180b3e..7849c7ba6c 100644 --- a/src/views/manualAccount/ManualAccountMenu.js +++ b/src/views/manualAccount/ManualAccountMenu.js @@ -44,9 +44,9 @@ export const ManualAccountMenu = React.forwardRef((props, ref) => { [AccountTypes.INVESTMENT]: , [AccountTypes.LINE_OF_CREDIT]: , [AccountTypes.MORTGAGE]: , - [AccountTypes.PROPERTY]: , + [AccountTypes.PROPERTY]: , [AccountTypes.CASH]: , - [AccountTypes.INSURANCE]: , + [AccountTypes.INSURANCE]: , [AccountTypes.PREPAID]: , [AccountTypes.UNKNOWN]: , }