diff --git a/src/pages/secondary/NotePage/index.tsx b/src/pages/secondary/NotePage/index.tsx index 979104d7..05158614 100644 --- a/src/pages/secondary/NotePage/index.tsx +++ b/src/pages/secondary/NotePage/index.tsx @@ -71,19 +71,23 @@ const NotePage = forwardRef(({ id, index }: { id?: string; index?: number }, ref
{rootITag && } - {rootEventId !== parentEventId && ( + {rootEventId && rootEventId !== parentEventId && ( )} - + {parentEventId && ( + + )} ) } - if (!event) return null return (
@@ -152,8 +157,7 @@ function ParentNote({ event && 'hover:text-foreground' )} onClick={() => { - if (!event) return - push(toNote(event)) + push(toNote(event ?? eventBech32Id)) }} > {event && }