Feed - posts #227
@ -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,28 +250,22 @@ 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'>
|
||||||
<>
|
<svg
|
||||||
<span className='IBMSMSMBSSCL_CAElement IBMSMSMBSSCL_CAEReplies'>
|
xmlns='http://www.w3.org/2000/svg'
|
||||||
<svg
|
viewBox='0 0 512 512'
|
||||||
xmlns='http://www.w3.org/2000/svg'
|
width='1em'
|
||||||
viewBox='0 0 512 512'
|
height='1em'
|
||||||
width='1em'
|
fill='currentColor'
|
||||||
height='1em'
|
className='IBMSMSMBSSCL_CAElementIcon'
|
||||||
fill='currentColor'
|
>
|
||||||
className='IBMSMSMBSSCL_CAElementIcon'
|
<path d='M256 32C114.6 32 .0272 125.1 .0272 240c0 49.63 21.35 94.98 56.97 130.7c-12.5 50.37-54.27 95.27-54.77 95.77c-2.25 2.25-2.875 5.734-1.5 8.734C1.979 478.2 4.75 480 8 480c66.25 0 115.1-31.76 140.6-51.39C181.2 440.9 217.6 448 256 448c141.4 0 255.1-93.13 255.1-208S397.4 32 256 32z'></path>
|
||||||
>
|
</svg>
|
||||||
<path d='M256 32C114.6 32 .0272 125.1 .0272 240c0 49.63 21.35 94.98 56.97 130.7c-12.5 50.37-54.27 95.27-54.77 95.77c-2.25 2.25-2.875 5.734-1.5 8.734C1.979 478.2 4.75 480 8 480c66.25 0 115.1-31.76 140.6-51.39C181.2 440.9 217.6 448 256 448c141.4 0 255.1-93.13 255.1-208S397.4 32 256 32z'></path>
|
<p className='IBMSMSMBSSCL_CAElementText'>
|
||||||
</svg>
|
{commentEvents.length}
|
||||||
<p className='IBMSMSMBSSCL_CAElementText'>
|
</p>
|
||||||
{commentEvents.length}
|
<p className='IBMSMSMBSSCL_CAElementText'>Replies</p>
|
||||||
</p>
|
</span>
|
||||||
<p className='IBMSMSMBSSCL_CAElementText'>
|
|
||||||
Replies
|
|
||||||
</p>
|
|
||||||
</span>
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user