add hashtag support in composer

This commit is contained in:
Ren Amamiya
2023-07-25 17:45:32 +07:00
parent 8d761caf3e
commit e30ca0ff82
9 changed files with 56 additions and 35 deletions

View File

@@ -14,10 +14,12 @@ export function NoteActions({
id,
pubkey,
noOpenThread,
root,
}: {
id: string;
pubkey: string;
noOpenThread?: boolean;
root?: string;
}) {
const { add } = useBlock();
@@ -25,7 +27,7 @@ export function NoteActions({
<Tooltip.Provider>
<div className="-ml-1 mt-2 inline-flex w-full items-center">
<div className="inline-flex items-center gap-2">
<NoteReply id={id} pubkey={pubkey} />
<NoteReply id={id} pubkey={pubkey} root={root} />
<NoteReaction id={id} pubkey={pubkey} />
<NoteRepost id={id} pubkey={pubkey} />
<NoteZap id={id} />