refactor: generic components (#868)

Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
This commit is contained in:
三咲智子 Kevin Deng 2023-01-08 15:49:32 +08:00 committed by GitHub
parent 5c8f75b9b7
commit b30ebc12f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 63 additions and 61 deletions

View file

@ -9,7 +9,7 @@ const { paginator, stream, account } = defineProps<{
stream?: Promise<WsEvents>
context?: mastodon.v2.FilterContext
account?: mastodon.v1.Account
preprocess?: (items: any[]) => any[]
preprocess?: (items: mastodon.v1.Status[]) => mastodon.v1.Status[]
}>()
const { formatNumber } = useHumanReadableNumber()