From cf561870f0941b8186230ec71f57c978163412df 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 22:52:58 +0800 Subject: [PATCH] refactor: search --- components/command/CommandItem.vue | 2 +- components/command/CommandPanel.vue | 22 ++----- components/search/SearchHashtagInfo.vue | 5 +- components/search/SearchResult.vue | 8 +-- components/search/SearchWidget.vue | 23 +------ components/search/types.ts | 17 ------ composables/command.ts | 2 +- composables/masto/search.ts | 81 +++++++++++++++++-------- 8 files changed, 74 insertions(+), 86 deletions(-) delete mode 100644 components/search/types.ts diff --git a/components/command/CommandItem.vue b/components/command/CommandItem.vue index 4f9351b1..4f7286a0 100644 --- a/components/command/CommandItem.vue +++ b/components/command/CommandItem.vue @@ -1,5 +1,5 @@