Skip to content

Commit 9649c1c

Browse files
committed
remove renewal menu hint
1 parent 024928a commit 9649c1c

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

src/pages/user.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ function PurchaseActionPopover({
255255
}: {
256256
buttonLabel: string;
257257
emptyText?: string;
258-
hint: string;
258+
hint?: string;
259259
loading: boolean;
260260
title?: string;
261261
titleNote?: string;
@@ -277,9 +277,11 @@ function PurchaseActionPopover({
277277
)}
278278
</div>
279279
)}
280-
<div className="px-2 pt-1 pb-2 text-slate-500 text-xs leading-relaxed">
281-
{hint}
282-
</div>
280+
{hint && (
281+
<div className="px-2 pt-1 pb-2 text-slate-500 text-xs leading-relaxed">
282+
{hint}
283+
</div>
284+
)}
283285
<div className="flex flex-col gap-1">
284286
{options.length > 0 ? (
285287
options.map((option) => (
@@ -537,7 +539,6 @@ const RenewalPurchaseButton = ({
537539
return (
538540
<PurchaseActionPopover
539541
buttonLabel={loadingPlan ? '跳转中' : '续费'}
540-
hint="选择续费时长;月付累计达到年付价后直接选择年付。"
541542
loading={loadingPlan !== null}
542543
title="续费"
543544
titleNote={

0 commit comments

Comments
 (0)