add nip-94 to newsfeed
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { NoteContent } from '@lume/app/note/components/content';
|
||||
import NoteFile from '@lume/app/note/components/file';
|
||||
import { Kind1 } from '@lume/app/note/components/kind1';
|
||||
import { Kind1063 } from '@lume/app/note/components/kind1063';
|
||||
import NoteMetadata from '@lume/app/note/components/metadata';
|
||||
import { NoteSkeleton } from '@lume/app/note/components/skeleton';
|
||||
import { NoteDefaultUser } from '@lume/app/note/components/user/default';
|
||||
@@ -66,7 +66,7 @@ export const RootNote = memo(function RootNote({ id, fallback }: { id: string; f
|
||||
<div onClick={(e) => openNote(e)} className="flex flex-col px-3">
|
||||
<NoteDefaultUser pubkey={parseFallback.pubkey} time={parseFallback.created_at} />
|
||||
<div className="mt-3 pl-[46px]">
|
||||
<NoteContent content={contentFallback} />
|
||||
<Kind1 content={contentFallback} />
|
||||
<NoteMetadata id={parseFallback.id} eventPubkey={parseFallback.pubkey} />
|
||||
</div>
|
||||
</div>
|
||||
@@ -79,8 +79,8 @@ export const RootNote = memo(function RootNote({ id, fallback }: { id: string; f
|
||||
<>
|
||||
<NoteDefaultUser pubkey={data.pubkey} time={data.created_at} />
|
||||
<div className="mt-3 pl-[46px]">
|
||||
{kind1 && <NoteContent content={kind1} />}
|
||||
{kind1063 && <NoteFile url={kind1063[0][1]} />}
|
||||
{kind1 && <Kind1 content={kind1} />}
|
||||
{kind1063 && <Kind1063 metadata={kind1063} />}
|
||||
<NoteMetadata id={data.id} eventPubkey={data.pubkey} />
|
||||
</div>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user