feat: render note quotes

This commit is contained in:
2023-04-18 22:20:13 +01:00
parent a6eefb1027
commit 13461cca80
11 changed files with 61 additions and 25 deletions

View File

@ -39,6 +39,7 @@ export interface NoteProps {
highlight?: boolean;
ignoreModeration?: boolean;
onClick?: (e: TaggedRawEvent) => void;
depth?: number;
options?: {
showHeader?: boolean;
showTime?: boolean;
@ -187,7 +188,7 @@ export default function Note(props: NoteProps) {
</Reveal>
);
}
return <Text content={body} tags={ev.tags} creator={ev.pubkey} />;
return <Text content={body} tags={ev.tags} creator={ev.pubkey} depth={props.depth} />;
};
useLayoutEffect(() => {