Feed - posts #227

Merged
enes merged 23 commits from feat/131-feed-posts into staging 2025-02-14 19:54:29 +00:00
Showing only changes of commit 717b2a3dfe - Show all commits

View File

@ -20,7 +20,6 @@ import { CommentsLoaderResult } from 'types/comments'
import { adjustTextareaHeight, handleCommentSubmit, hexToNpub } from 'utils' import { adjustTextareaHeight, handleCommentSubmit, hexToNpub } from 'utils'
import { Reactions } from './Reactions' import { Reactions } from './Reactions'
import { Zap } from './Zap' import { Zap } from './Zap'
import { NDKKind } from '@nostr-dev-kit/ndk'
import { Comment } from './Comment' import { Comment } from './Comment'
import { useComments } from 'hooks/useComments' import { useComments } from 'hooks/useComments'
import { CommentContent } from './CommentContent' import { CommentContent } from './CommentContent'
@ -251,8 +250,6 @@ export const CommentsPopup = () => {
{typeof profile?.lud16 !== 'undefined' && {typeof profile?.lud16 !== 'undefined' &&
profile.lud16 !== '' && <Zap {...event.rawEvent()} />} profile.lud16 !== '' && <Zap {...event.rawEvent()} />}
{event.kind === NDKKind.GenericReply && (
<>
<span className='IBMSMSMBSSCL_CAElement IBMSMSMBSSCL_CAEReplies'> <span className='IBMSMSMBSSCL_CAElement IBMSMSMBSSCL_CAEReplies'>
<svg <svg
xmlns='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg'
@ -267,12 +264,8 @@ export const CommentsPopup = () => {
<p className='IBMSMSMBSSCL_CAElementText'> <p className='IBMSMSMBSSCL_CAElementText'>
{commentEvents.length} {commentEvents.length}
</p> </p>
<p className='IBMSMSMBSSCL_CAElementText'> <p className='IBMSMSMBSSCL_CAElementText'>Replies</p>
Replies
</p>
</span> </span>
</>
)}
</div> </div>
</div> </div>
</div> </div>