Apply patch [skip ci]

This commit is contained in:
open-swe-dev-andrinoid[bot] 2026-01-21 23:16:50 +00:00
parent f6cb8cdbf3
commit 6e61a1e3f4

View File

@ -75,8 +75,8 @@ export default function PaymentMethodsList(
if (decryptedData) {
const accountNumber = decryptedData;
// Show only last 4 digits
processedMethod.maskedAccountNumber =
"****" + accountNumber.slice(-4);
processedMethod.maskedAccountNumber = "****" +
accountNumber.slice(-4);
}
} catch (error) {
console.error("Failed to decrypt account number:", error);
@ -93,8 +93,8 @@ export default function PaymentMethodsList(
if (decryptedData) {
const routingNumber = decryptedData;
// Show only last 4 digits
processedMethod.maskedRoutingNumber =
"****" + routingNumber.slice(-4);
processedMethod.maskedRoutingNumber = "****" +
routingNumber.slice(-4);
}
} catch (error) {
console.error("Failed to decrypt routing number:", error);
@ -147,7 +147,8 @@ export default function PaymentMethodsList(
{popupAddPaymentMethodDialog}
<div class="space-y-4">
{processedMethods.length === 0 ? (
{processedMethods.length === 0
? (
<div class="text-center py-12 bg-white rounded-lg shadow">
<svg
xmlns="http://www.w3.org/2000/svg"
@ -177,7 +178,8 @@ export default function PaymentMethodsList(
Add Payment Method
</button>
</div>
) : (
)
: (
<>
<ul class="space-y-4">
{processedMethods.map((method) => (