diff --git a/packages/client/src/components/global/ad.vue b/packages/client/src/components/global/ad.vue index e1941a832..aba2087f1 100644 --- a/packages/client/src/components/global/ad.vue +++ b/packages/client/src/components/global/ad.vue @@ -44,7 +44,7 @@ export default defineComponent({ setup(props) { const showMenu = ref(false); - const showAds = ref(defaultStore.state.showAds); + const showAds = defaultStore.state.showAds; const toggleMenu = () => { showMenu.value = !showMenu.value; };