From cd2a06e9696e3b20ef5e6c6a59a80a17a992a160 Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Thu, 24 Nov 2022 15:53:27 +0800 Subject: [PATCH] ui: move publish widget --- components/account/AccountCard.vue | 2 + components/publish/PublishWidget.vue | 77 +++++++++++++++------------- composables/cache.ts | 19 +++---- layouts/default.vue | 5 +- pages/home.vue | 1 + pages/status/[status].vue | 15 +++--- unocss.config.ts | 8 +-- 7 files changed, 65 insertions(+), 62 deletions(-) diff --git a/components/account/AccountCard.vue b/components/account/AccountCard.vue index 7d144995..c0d32b93 100644 --- a/components/account/AccountCard.vue +++ b/components/account/AccountCard.vue @@ -4,6 +4,8 @@ import type { Account } from 'masto' const { account } = defineProps<{ account: Account }>() + +cacheAccount(account)