fix: remove unused formatAmount to fix web build error
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled

This commit is contained in:
CI Test
2026-06-28 21:10:43 +08:00
parent c81b071a43
commit a0d552c91a
@@ -13,10 +13,6 @@ const formatDate = (iso: string): string => {
return d.toLocaleDateString('zh-CN', { year: 'numeric', month: '2-digit', day: '2-digit' });
};
const formatAmount = (amount: number): string => {
if (amount === 0) return '免费';
return `¥${amount.toFixed(2)}`;
};
const Billing: React.FC = () => {
const [subscription, setSubscription] = useState<SubscriptionInfo | null>(null);