From db4564a6e4e31266a1e46b0246774b87892e06a5 Mon Sep 17 00:00:00 2001 From: dreamhunter2333 Date: Thu, 25 Apr 2024 01:48:06 +0800 Subject: [PATCH] fix: fetchSettings has no await --- frontend/src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 8c55922..b402c51 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -37,7 +37,7 @@ const fetchSettings = async () => { } onMounted(async () => { - fetchSettings(); + await fetchSettings(); if (!isMobile && settings.value.ad_client) { (window.adsbygoogle = window.adsbygoogle || []).push({}); (window.adsbygoogle = window.adsbygoogle || []).push({});