website cleanup
This commit is contained in:
@@ -304,18 +304,6 @@ export default function SponsorBillingPage() {
|
||||
);
|
||||
}
|
||||
|
||||
const handleSetDefault = (methodId: string) => {
|
||||
setPaymentMethods(methods =>
|
||||
methods.map(m => ({ ...m, isDefault: m.id === methodId }))
|
||||
);
|
||||
};
|
||||
|
||||
const handleRemoveMethod = (methodId: string) => {
|
||||
if (confirm('Remove this payment method?')) {
|
||||
setPaymentMethods(methods => methods.filter(m => m.id !== methodId));
|
||||
}
|
||||
};
|
||||
|
||||
const handleSetDefault = (methodId: string) => {
|
||||
// In a real app, this would call an API
|
||||
console.log('Setting default payment method:', methodId);
|
||||
|
||||
Reference in New Issue
Block a user