Skip to content

Commit

Permalink
build: bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Jul 11, 2024
1 parent 05a1a21 commit 078d2fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@yearn-finance/web-lib",
"version": "4.0.4",
"version": "4.0.5",
"main": "./dist/index.js",
"types": "./dist/index.d.js",
"files": [
Expand Down
3 changes: 3 additions & 0 deletions src/hooks/useFetchYearnVaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ function useFetchYearnVaults(chainIDs?: number[] | undefined): {
}, [vaultsMigrations]);

const vaultsRetiredObject = useDeepCompareMemo((): TDict<TYDaemonVault> => {
if (!vaultsRetired) {
return {};
}
const _retiredVaultsObject = (vaultsRetired || []).reduce(
(acc: TDict<TYDaemonVault>, vault): TDict<TYDaemonVault> => {
acc[toAddress(vault.address)] = vault;
Expand Down

0 comments on commit 078d2fe

Please sign in to comment.