From c601a9b102d491f7a4b7125ca0df80922289deca Mon Sep 17 00:00:00 2001 From: "DESKTOP-RTLN3BA\\$punk" Date: Thu, 28 May 2026 19:22:54 -0700 Subject: [PATCH] fix: biome errs --- surfsense_web/components/ads/ad-unit.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/surfsense_web/components/ads/ad-unit.tsx b/surfsense_web/components/ads/ad-unit.tsx index 5f5860607..cc5848a00 100644 --- a/surfsense_web/components/ads/ad-unit.tsx +++ b/surfsense_web/components/ads/ad-unit.tsx @@ -52,7 +52,8 @@ export function AdUnit({ // sets data-adsbygoogle-status="done" once it has filled a slot. if (el.getAttribute("data-adsbygoogle-status")) return; try { - (window.adsbygoogle = window.adsbygoogle || []).push({}); + window.adsbygoogle = window.adsbygoogle || []; + window.adsbygoogle.push({}); } catch { // AdSense throws if pushed before the script has loaded or on // duplicate pushes. The script processes pending pushes when it