From ad38749f989a55ec6a7dd0883939a1cd3eb9beef Mon Sep 17 00:00:00 2001 From: Jai A Date: Thu, 31 Oct 2024 15:24:13 -0700 Subject: [PATCH] fix lint --- apps/frontend/src/public/promo-frame.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/frontend/src/public/promo-frame.html b/apps/frontend/src/public/promo-frame.html index a0d1c2ee8..6cbfed294 100644 --- a/apps/frontend/src/public/promo-frame.html +++ b/apps/frontend/src/public/promo-frame.html @@ -140,7 +140,11 @@ function syncAgreeState() { const primaryButton = document.querySelector('[mode="primary"]'); - if (primaryButton && primaryButton.textContent && primaryButton.textContent.includes("AGREE")) { + if ( + primaryButton && + primaryButton.textContent && + primaryButton.textContent.includes("AGREE") + ) { primaryButton.click(); } else { setTimeout(syncAgreeState, 100);