fix: drop the confirmation-time promise from the PIX note
Some checks failed
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 2m3s
Build and deploy / Secret scan and release gate (push) Successful in 7s
Build and deploy / Publish images (push) Has been cancelled

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-09-28 14:15:08 -03:00
parent 0ed6de4bd5
commit c436936fed

View File

@@ -276,7 +276,7 @@
radios.forEach(el=>el.setAttribute('aria-checked',String(el.dataset.metodo===escolhido))); radios.forEach(el=>el.setAttribute('aria-checked',String(el.dataset.metodo===escolhido)));
unmountCard(); area.replaceChildren(); message(''); unmountCard(); area.replaceChildren(); message('');
if (escolhido!=='pix') { await showCard(quote.approved, area, version, escolhido); return; } if (escolhido!=='pix') { await showCard(quote.approved, area, version, escolhido); return; }
area.append(node('p','Clique em Pagar para gerar o QR code do PIX. A confirmação é imediata.','pagNota')); area.append(node('p','Clique em Pagar para gerar o QR code do PIX.','pagNota'));
button('Pagar',async event=>{ button('Pagar',async event=>{
if (!cartOk()) { await refresh(); return; } if (!cartOk()) { await refresh(); return; }
event.target.disabled=true; event.target.disabled=true;