From 10aef7ca5a53e2bfa8d6ad30192c5ef70d449cfd Mon Sep 17 00:00:00 2001 From: Nikki Wines Date: Sun, 3 Dec 2023 00:40:13 -0800 Subject: [PATCH] prettier --- src/components/Icon/BankIcons.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/Icon/BankIcons.ts b/src/components/Icon/BankIcons.ts index d4401184783b..ece9a865629b 100644 --- a/src/components/Icon/BankIcons.ts +++ b/src/components/Icon/BankIcons.ts @@ -99,9 +99,15 @@ function getAssetIcon(bankNameKey: BankNameKey, isCard: boolean): React.FC { - const condensedValue = value.replace(/\s/g, ''); - return bankName === value || bankName.includes(value) || bankName.startsWith(value) || - bankName === condensedValue || bankName.includes(condensedValue) || bankName.startsWith(condensedValue); + const condensedValue = value.replace(/\s/g, ''); + return ( + bankName === value || + bankName.includes(value) || + bankName.startsWith(value) || + bankName === condensedValue || + bankName.includes(condensedValue) || + bankName.startsWith(condensedValue) + ); }); return (bank?.[0] as BankNameKey) ?? ''; }