Skip to content

Commit

Permalink
fix text
Browse files Browse the repository at this point in the history
  • Loading branch information
happylolonly committed Oct 31, 2023
1 parent 27b7528 commit b600e6a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/contentIpfs/contentIpfs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import TextMarkdown from '../TextMarkdown';
import LinkHttp from './component/link';
import Pdf from '../PDF';
import Img from './component/img';
// import DebugContentInfo from '../DebugContentInfo/DebugContentInfo';
import Audio from './component/Audio/Audio';

function OtherItem({
Expand Down Expand Up @@ -53,7 +52,9 @@ function ContentIpfs({ details, content, cid, search }: ContentTabProps) {
/> */}
{/* Default */}

{!details?.type && <div>{cid.toString()}</div>}
{!details?.type && search && (
<TextMarkdown preview>{cid.toString()}</TextMarkdown>
)}

{content?.availableDownload && (
<DownloadableItem search={search} cid={cid} />
Expand Down

0 comments on commit b600e6a

Please sign in to comment.