refactor: update author type to TAuthorResponse in news author component

This commit is contained in:
Ardeman 2025-03-13 07:29:40 +08:00
parent d77ea01c59
commit eadfccfc0e

View File

@ -1,9 +1,9 @@
import type { TAuthor } from '~/apis/common/get-news'
import type { TAuthorResponse } from '~/apis/common/get-news'
import { ProfileIcon } from '~/components/icons/profile'
import { formatDate } from '~/utils/formatter'
type TDetailNewsAuthor = {
author?: TAuthor
author?: TAuthorResponse
live_at?: string
text?: string
}