Skip to content

Commit

Permalink
fix: display historical when no forward
Browse files Browse the repository at this point in the history
  • Loading branch information
Majorfi committed Oct 11, 2023
1 parent adddcef commit 217656a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/vaults/components/list/VaultsListRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ export function VaultForwardAPR({currentVault}: {currentVault: TYDaemonVault}):
);
}

if (currentVault.apr.forwardAPR.type === '') {
return <VaultHistoricalAPR currentVault={currentVault} />;
}

return (
<div className={'flex flex-col text-right'}>
<b className={'yearn--table-data-section-item-value'}>
Expand Down

0 comments on commit 217656a

Please sign in to comment.