update copy to reflect usage is monthly

This commit is contained in:
Abi Raja 2024-01-11 10:59:53 -08:00
parent 5256d428e0
commit 25fccc0ef5

View File

@ -99,7 +99,8 @@ export default function AvatarDropdown() {
<Progress value={(usedCredits / totalCredits) * 100} />
</DropdownMenuItem>
<DropdownMenuItem className="text-xs text-gray-700">
{usedCredits} out of {totalCredits} credits used.
{usedCredits} out of {totalCredits} credits used for{" "}
{new Date().toLocaleString("default", { month: "long" })}
{subscriberTier !== "pro" && (
<> Upgrade to Pro to get more credits.</>
)}