Skip to content

Commit

Permalink
fix: APY fully rented for properties before start rent day (#85)
Browse files Browse the repository at this point in the history
Co-authored-by: alex <[email protected]>
  • Loading branch information
NandyBa and AlexRLT authored Sep 1, 2024
1 parent 2d6bbf3 commit 80f8e5a
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 80f8e5a

Please sign in to comment.