diff --git a/src/components/ad/AdBanner.vue b/src/components/ad/AdBanner.vue index ff3b7ec9..f6d3ff55 100644 --- a/src/components/ad/AdBanner.vue +++ b/src/components/ad/AdBanner.vue @@ -10,22 +10,22 @@ const props = defineProps({ }); const show = ref(false) -onMounted(() => { - const adClient = getClient(); - const adUnitId = getUnit(props.unit); - show.value = adClient !== undefined && adUnitId !== undefined; +// onMounted(() => { +// const adClient = getClient(); +// const adUnitId = getUnit(props.unit); +// show.value = adClient !== undefined && adUnitId !== undefined; - if(show.value) { - adClient.showBannerAd({ - adUnitId, - containerId: props.id, - }); - } -}); +// if(show.value) { +// adClient.showBannerAd({ +// adUnitId, +// containerId: props.id, +// }); +// } +// });