Skip to content

Commit

Permalink
fix: APY fully rented for properties before start rent day
Browse files Browse the repository at this point in the history
  • Loading branch information
NandyBa committed Sep 1, 2024
1 parent 183bbcd commit 7eff0d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useFullyRentedAPR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const useFullyRentedAPR = (token: UserRealtoken) => {

const fullyRentedAPR = useMemo(() => {
const isDisabled = APRDisabled(rentCalculation, token)
if (isDisabled && !isVEFA(token)) return 0
if (isDisabled) return 0
return fullyRentedAPREstimation(token, rentCalculation)
}, [token, rentCalculation])

Expand Down

0 comments on commit 7eff0d3

Please sign in to comment.