diff --git a/pages/index.vue b/pages/index.vue index 5455eb3..3de6724 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -40,18 +40,15 @@ import type { z } from "zod"; import Sponsor from "~/schemas/sponsor"; const sponsor = ref>(); try { - sponsor.value = JSON.parse( - ( + sponsor.value = JSON.parse(( await GqlGetContent({ path: "/website/sponsor", - }) - ).content + })).content ); } catch { // } -// sponsor.value = { ...sponsor.value, enabled: false };