diff --git a/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx b/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx index 72242aa8..dee48413 100755 --- a/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx +++ b/apps/vaults-v3/components/details/tabs/VaultDetailsStrategies.tsx @@ -27,7 +27,7 @@ export function VaultDetailsStrategies({currentVault}: {currentVault: TYDaemonVa for (const strategy of currentVault?.strategies || []) { _vaultList.push(vaults[strategy.address]); } - return _vaultList; + return _vaultList.filter(Boolean); }, [vaults, currentVault]); const strategyList = useMemo((): TYDaemonVaultStrategy[] => { @@ -64,22 +64,26 @@ export function VaultDetailsStrategies({currentVault}: {currentVault: TYDaemonVa ** sortDirection values. **********************************************************************************************/ const sortedVaultsToDisplay = useSortVaults([...searchedVaultsToDisplay], sortBy, sortDirection); + const isVaultListEmpty = sortedVaultsToDisplay.length === 0; return ( <> -
{'Search'}
-{'Search'}
+@@ -140,7 +149,7 @@ export function VaultDetailsStrategies({currentVault}: {currentVault: TYDaemonVa
{'Try another search term'}
diff --git a/apps/vaults-v3/components/list/VaultsV3ListRow.tsx b/apps/vaults-v3/components/list/VaultsV3ListRow.tsx index 55d70a75..a5e381ee 100755 --- a/apps/vaults-v3/components/list/VaultsV3ListRow.tsx +++ b/apps/vaults-v3/components/list/VaultsV3ListRow.tsx @@ -529,7 +529,7 @@ function VaultRiskScoreTag({riskLevel}: {riskLevel: number}): ReactElement { {'Risk Score'}