From 0ee86a3c77626530414f0d90f6100774988f5a03 Mon Sep 17 00:00:00 2001 From: Adam Chambers Date: Wed, 29 Nov 2023 22:05:36 -0500 Subject: [PATCH] chore: change default sort option to match sdk --- apps/marginfi-v2-ui/src/store/uiStore.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/marginfi-v2-ui/src/store/uiStore.ts b/apps/marginfi-v2-ui/src/store/uiStore.ts index 7ead4b1942..f57275c55e 100644 --- a/apps/marginfi-v2-ui/src/store/uiStore.ts +++ b/apps/marginfi-v2-ui/src/store/uiStore.ts @@ -69,7 +69,7 @@ const stateCreator: StateCreator = (set, get) => ({ isFilteredUserPositions: false, lendingMode: LendingModes.LEND, poolFilter: PoolTypes.ALL, - sortOption: SORT_OPTIONS_MAP[SortType.APY_DESC], + sortOption: SORT_OPTIONS_MAP[SortType.TVL_DESC], // Actions setIsMenuDrawerOpen: (isOpen: boolean) => set({ isMenuDrawerOpen: isOpen }),