Skip to content

Commit

Permalink
Merge pull request #374 from opacity/fix/allowed-renew-date
Browse files Browse the repository at this point in the history
Fix allowed renew date
  • Loading branch information
funkydrummer authored May 29, 2020
2 parents c7c9e17 + d0f7e29 commit 79c3cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/file-manager/file-manager-slide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ const FileManagerSlide = ({
</UsageInfo>
<UsageInfo>
{/* Only show if expiration date is within 180 days */}
{ +new Date(expirationDate) - Date.now() < (3 * 180 * 24 * 60 * 60 * 1000) &&
{ +new Date(expirationDate) - Date.now() < (180 * 24 * 60 * 60 * 1000) &&
<RenewButton to="/renew">Renew Your Account</RenewButton>
}
<UpgradeButton to="/upgrade">Get More Storage</UpgradeButton>
Expand Down

0 comments on commit 79c3cea

Please # to comment.