From 1ac17109a3004314eefbe4b71f1fbe62313fd76d Mon Sep 17 00:00:00 2001 From: Chroot Date: Tue, 26 May 2026 11:11:43 +0000 Subject: [PATCH] fix: usar async IIFE en loadReviews para S7785 --- tienda/templates/tienda/producto.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tienda/templates/tienda/producto.html b/tienda/templates/tienda/producto.html index d252f0a..dd9bc9b 100644 --- a/tienda/templates/tienda/producto.html +++ b/tienda/templates/tienda/producto.html @@ -157,6 +157,6 @@ async function loadReviews() { } } -loadReviews().catch(console.error); +(async () => { await loadReviews(); })(); {% endblock %}