diff --git a/centrifuge-app/src/pages/NavManagement/Overview.tsx b/centrifuge-app/src/pages/NavManagement/Overview.tsx index 77d691ea6..36429fb43 100644 --- a/centrifuge-app/src/pages/NavManagement/Overview.tsx +++ b/centrifuge-app/src/pages/NavManagement/Overview.tsx @@ -88,7 +88,7 @@ export const NavOverviewCard = ({ poolId }: { poolId: string }) => { const lastUpdatedSumBorrowedAmountByPeriod = dailyPoolStates?.find( (state) => state.timestamp >= lastUpdated )?.sumBorrowedAmountByPeriod - const todaySumBorrowedAmountByPeriod = dailyPoolStates?.[0].sumBorrowedAmountByPeriod + const todaySumBorrowedAmountByPeriod = dailyPoolStates?.[0]?.sumBorrowedAmountByPeriod return lastUpdatedSumBorrowedAmountByPeriod && todaySumBorrowedAmountByPeriod ? new BN(todaySumBorrowedAmountByPeriod).sub(new BN(lastUpdatedSumBorrowedAmountByPeriod)) : new BN(0)