fix: 🐛
This commit is contained in:
@@ -3,6 +3,7 @@ import { Separator } from '@/components/ui/separator'
|
|||||||
import { getEventKey, getKeyFromTag, getParentTag, isMentioningMutedUsers } from '@/lib/event'
|
import { getEventKey, getKeyFromTag, getParentTag, isMentioningMutedUsers } from '@/lib/event'
|
||||||
import { toNote } from '@/lib/link'
|
import { toNote } from '@/lib/link'
|
||||||
import { generateBech32IdFromETag } from '@/lib/tag'
|
import { generateBech32IdFromETag } from '@/lib/tag'
|
||||||
|
import { cn } from '@/lib/utils'
|
||||||
import { useContentPolicy } from '@/providers/ContentPolicyProvider'
|
import { useContentPolicy } from '@/providers/ContentPolicyProvider'
|
||||||
import { useMuteList } from '@/providers/MuteListProvider'
|
import { useMuteList } from '@/providers/MuteListProvider'
|
||||||
import { useReply } from '@/providers/ReplyProvider'
|
import { useReply } from '@/providers/ReplyProvider'
|
||||||
@@ -12,7 +13,6 @@ import { NostrEvent } from 'nostr-tools'
|
|||||||
import { useCallback, useMemo, useRef, useState } from 'react'
|
import { useCallback, useMemo, useRef, useState } from 'react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
import ReplyNote from '../ReplyNote'
|
import ReplyNote from '../ReplyNote'
|
||||||
import { cn } from '@/lib/utils'
|
|
||||||
|
|
||||||
export default function SubReplies({ parentKey }: { parentKey: string }) {
|
export default function SubReplies({ parentKey }: { parentKey: string }) {
|
||||||
const { t } = useTranslation()
|
const { t } = useTranslation()
|
||||||
@@ -131,7 +131,7 @@ export default function SubReplies({ parentKey }: { parentKey: string }) {
|
|||||||
<div className="w-3 flex-shrink-0 bg-border" />
|
<div className="w-3 flex-shrink-0 bg-border" />
|
||||||
<ReplyNote
|
<ReplyNote
|
||||||
className={cn(
|
className={cn(
|
||||||
'border-l flex-1 max-w-full border-t',
|
'border-l flex-1 w-0 border-t',
|
||||||
index === replies.length - 1 && 'border-b'
|
index === replies.length - 1 && 'border-b'
|
||||||
)}
|
)}
|
||||||
event={reply}
|
event={reply}
|
||||||
|
|||||||
Reference in New Issue
Block a user