From 35c9a871be20ad3ff3a050d03d2bcd097f9539bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sat, 7 Jan 2023 01:32:53 +0800 Subject: [PATCH] fix(command): remove compose action --- composables/command.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/composables/command.ts b/composables/command.ts index 086724ac..0b37f4f1 100644 --- a/composables/command.ts +++ b/composables/command.ts @@ -245,20 +245,6 @@ export const provideGlobalCommands = () => { const masto = useMasto() const colorMode = useColorMode() - useCommand({ - scope: 'Actions', - - visible: () => currentUser.value, - - name: () => t('action.compose'), - icon: 'i-ri:quill-pen-line', - description: () => t('command.compose_desc'), - - onActivate() { - openPublishDialog() - }, - }) - useCommand({ scope: 'Navigation',