From eadfccfc0e51cd635fcf6a58adbe49884b6a57d5 Mon Sep 17 00:00:00 2001 From: Ardeman Date: Thu, 13 Mar 2025 07:29:40 +0800 Subject: [PATCH] refactor: update author type to TAuthorResponse in news author component --- app/components/ui/news-author.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/ui/news-author.tsx b/app/components/ui/news-author.tsx index af96edc..d906f7e 100644 --- a/app/components/ui/news-author.tsx +++ b/app/components/ui/news-author.tsx @@ -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 }