fix: types

This commit is contained in:
DIYgod 2024-10-04 04:13:12 +08:00
parent ecb2d33979
commit f0767e2ad9
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -246,7 +246,9 @@ export const EntryContentRender: Component<{
{!content && (
<div className="center mt-16 min-w-0">
{isPending ? (
<EntryContentLoading icon={feed?.siteUrl!} />
<EntryContentLoading
icon={feed?.type === "inbox" ? undefined : feed?.siteUrl!}
/>
) : error ? (
<div className="center flex min-w-0 flex-col gap-2">
<i className="i-mgc-close-cute-re text-3xl text-red-500" />