update copy to reflect usage is monthly
This commit is contained in:
parent
5256d428e0
commit
25fccc0ef5
@ -99,7 +99,8 @@ export default function AvatarDropdown() {
|
|||||||
<Progress value={(usedCredits / totalCredits) * 100} />
|
<Progress value={(usedCredits / totalCredits) * 100} />
|
||||||
</DropdownMenuItem>
|
</DropdownMenuItem>
|
||||||
<DropdownMenuItem className="text-xs text-gray-700">
|
<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" && (
|
{subscriberTier !== "pro" && (
|
||||||
<> Upgrade to Pro to get more credits.</>
|
<> Upgrade to Pro to get more credits.</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user