Skip to content

Commit

Permalink
fix: isNeverExpire hide RemainPercentBar
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 24, 2024
1 parent 98dcbd5 commit fede9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/billingInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function BillingInfo({ parsedData }: { parsedData: PublicNoteData
<div className={cn("text-[10px] text-muted-foreground")}>
{t("billingInfo.remaining")}: {isNeverExpire ? t("billingInfo.indefinite") : daysLeftObject.days + " " + t("billingInfo.days")}
</div>
<RemainPercentBar className="mt-0.5" value={daysLeftObject.remainingPercentage * 100} />
{!isNeverExpire && <RemainPercentBar className="mt-0.5" value={daysLeftObject.remainingPercentage * 100} />}
</>
) : (
<>
Expand Down

0 comments on commit fede9b0

Please sign in to comment.