refactor(support): replace mock data with real costs and simplify stats

Updated support page to use real data instead of mock values, including monthly costs
This commit is contained in:
Evandro Fonseca Junior committed 2025-10-26 18:32:15 -03:00
1 parent 01e97eb078
commit 00501e6699
8 files changed
+235 -150

No files matched your search

+5 -1
View File
@@ -52,7 +52,11 @@ export function DonationCard({
const data: DonationResponse = await response.json();
if (data.success && data.pixCode && data.pixQrCode) {
if (data.success && data.paymentUrl) {
// Redirecionar para página de pagamento do AbacatePay
window.location.href = data.paymentUrl;
} else if (data.success && data.pixCode && data.pixQrCode) {
// Fallback: mostrar modal com QR Code se disponível
setPixData({
code: data.pixCode,
qrCode: data.pixQrCode,