fix: no content state for readability
This commit is contained in:
parent
4254da6c69
commit
c1ba64e615
|
|
@ -47,11 +47,15 @@ export const ReadabilityNotice = ({ entryId }: { entryId: string }) => {
|
|||
{T("words.back")}
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
) : status === ReadabilityStatus.WAITING ? (
|
||||
<div className="center mt-32 flex flex-col gap-2">
|
||||
<LoadingWithIcon size="large" icon={<i className="i-mgc-docment-cute-re" />} />
|
||||
<span className="text-sm">{t("entry_content.fetching_content")}</span>
|
||||
</div>
|
||||
) : (
|
||||
<div className="center mt-32">
|
||||
<span className="text-sm">{t("entry_content.no_content")}</span>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue