From 7eff0d36992a06a22c0d8e5ea2c72bde603ae21e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nandy=20B=C3=A2?= Date: Sun, 1 Sep 2024 19:32:15 +0900 Subject: [PATCH] fix: APY fully rented for properties before start rent day --- src/hooks/useFullyRentedAPR.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useFullyRentedAPR.ts b/src/hooks/useFullyRentedAPR.ts index 6a75c90..20454c2 100644 --- a/src/hooks/useFullyRentedAPR.ts +++ b/src/hooks/useFullyRentedAPR.ts @@ -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])