From 10f18f6b6b8f8ffd49f080e660555b572f88cf31 Mon Sep 17 00:00:00 2001
From: ThatOneCalculator <kainoa@t1c.dev>
Date: Thu, 8 Jun 2023 12:51:05 -0700
Subject: [PATCH] patron async computed

---
 packages/client/src/pages/user/home.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/client/src/pages/user/home.vue b/packages/client/src/pages/user/home.vue
index 705a93680..d9d0a7b81 100644
--- a/packages/client/src/pages/user/home.vue
+++ b/packages/client/src/pages/user/home.vue
@@ -367,8 +367,6 @@ const props = withDefaults(
 
 const router = useRouter();
 
-const patrons = await os.api("patrons");
-
 let parallaxAnimationId = $ref<null | number>(null);
 let narrow = $ref<null | boolean>(null);
 let rootEl = $ref<null | HTMLElement>(null);
@@ -423,6 +421,8 @@ const timeForThem = $computed(() => {
 	return "";
 });
 
+const patrons = $computed(async () => await os.api("patrons"));
+
 function menu(ev) {
 	os.popupMenu(
 		getUserMenu(props.user, router),