mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-04-01 00:19:45 +02:00
Merge branch 'next' into things
This commit is contained in:
commit
a7f56df8d0
@ -71,8 +71,6 @@ export const ThreadPost = memo(({ post, initShowReplies, focusId, level = -1 }:
|
||||
</Alert>
|
||||
);
|
||||
|
||||
if (isMuted && replies.length === 0) return null;
|
||||
|
||||
const colorProps = useThreadColorLevelProps(level, focusId === post.event.id);
|
||||
|
||||
const header = (
|
||||
@ -139,6 +137,8 @@ export const ThreadPost = memo(({ post, initShowReplies, focusId, level = -1 }:
|
||||
const ref = useRef<HTMLDivElement | null>(null);
|
||||
useRegisterIntersectionEntity(ref, post.event.id);
|
||||
|
||||
if (isMuted && replies.length === 0) return null;
|
||||
|
||||
return (
|
||||
<>
|
||||
<Flex
|
||||
|
@ -93,9 +93,6 @@ export default function ThreadView() {
|
||||
<Spinner /> Loading note
|
||||
</Heading>
|
||||
)}
|
||||
{/* <Code as="pre">
|
||||
{JSON.stringify({ pointer, rootId, focused: focusedEvent?.id, refs, timelineId, events: events.length }, null, 2)}
|
||||
</Code> */}
|
||||
<IntersectionObserverProvider callback={callback}>
|
||||
{focusedEvent && rootId ? (
|
||||
<ThreadPage thread={thread} rootId={rootId} focusId={focusedEvent.id} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user