From 2cfa006267332f51bdb4604cb1f6721a64bfeb99 Mon Sep 17 00:00:00 2001 From: Jon McClure Date: Thu, 4 Jan 2024 19:39:11 +0000 Subject: [PATCH] fix lint issues --- src/components/AdSlot/AdScripts.svelte | 8 +++++--- src/components/AdSlot/AdSlot.svelte | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/components/AdSlot/AdScripts.svelte b/src/components/AdSlot/AdScripts.svelte index 3de6f9b9..21789cf0 100644 --- a/src/components/AdSlot/AdScripts.svelte +++ b/src/components/AdSlot/AdScripts.svelte @@ -3,7 +3,7 @@ import bootstrapLoad from './scripts/bootstrapLoad'; onMount(() => { - (window).graphicsAdQueue = (window).graphicsAdQueue || []; + window.graphicsAdQueue = window.graphicsAdQueue || []; }); @@ -25,10 +25,12 @@ + on:load="{bootstrapLoad}" + > + async + > diff --git a/src/components/AdSlot/AdSlot.svelte b/src/components/AdSlot/AdSlot.svelte index bd2bbe2b..7935c3e2 100644 --- a/src/components/AdSlot/AdSlot.svelte +++ b/src/components/AdSlot/AdSlot.svelte @@ -23,8 +23,8 @@ import Block from '../Block/Block.svelte'; onMount(() => { - (window).graphicsAdQueue = (window).graphicsAdQueue || []; - (window).graphicsAdQueue.push({ + window.graphicsAdQueue = window.graphicsAdQueue || []; + window.graphicsAdQueue.push({ placementName, slotId: placementName, });