From 7ad77585d3421fecf2b99058cc303f6345121275 Mon Sep 17 00:00:00 2001 From: dargy Date: Wed, 8 May 2024 21:45:27 -0500 Subject: [PATCH] make sponsor look better --- pages/index.vue | 59 ++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 30 deletions(-) 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 };