refactor: update author type to TAuthorResponse in news author component
This commit is contained in:
parent
d77ea01c59
commit
eadfccfc0e
@ -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 { ProfileIcon } from '~/components/icons/profile'
|
||||||
import { formatDate } from '~/utils/formatter'
|
import { formatDate } from '~/utils/formatter'
|
||||||
|
|
||||||
type TDetailNewsAuthor = {
|
type TDetailNewsAuthor = {
|
||||||
author?: TAuthor
|
author?: TAuthorResponse
|
||||||
live_at?: string
|
live_at?: string
|
||||||
text?: string
|
text?: string
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user