From b9492a6673c198054fafb700c0cecb03b1d19666 Mon Sep 17 00:00:00 2001 From: Adam Chambers Date: Fri, 24 Nov 2023 13:17:18 -0500 Subject: [PATCH] feat: switch LST filter option to SOL / LST --- .../src/components/common/AssetList/AssetListFilters.tsx | 2 +- .../src/components/common/AssetList/AssetListFilters.utils.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.tsx b/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.tsx index 07e16616d7..c615636f93 100644 --- a/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.tsx +++ b/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.tsx @@ -82,7 +82,7 @@ export const AssetListFilters = () => { All pools Isolated pools Stablecoins - LSTs + SOL / LST diff --git a/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.utils.tsx b/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.utils.tsx index 93e00b7f3c..89729658a4 100644 --- a/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.utils.tsx +++ b/apps/marginfi-v2-ui/src/components/common/AssetList/AssetListFilters.utils.tsx @@ -3,7 +3,7 @@ import type { sortDirection } from "~/types"; export const STABLECOINS = ["USDC", "USDT", "UXD"]; -export const LSTS = ["LST", "stSOL", "jitoSOL", "bSOL", "mSOL"]; +export const LSTS = ["SOL", "LST", "stSOL", "JitoSOL", "bSOL", "mSOL"]; export const sortApRate = (banks: ExtendedBankInfo[], isInLendingMode: boolean, direction: sortDirection) => { return banks.sort((a, b) => {