improve hashtag parser

This commit is contained in:
Ren Amamiya
2023-09-01 18:26:22 +07:00
parent e6d35bc635
commit 28939d1733
4 changed files with 30 additions and 11 deletions

View File

@@ -66,10 +66,10 @@ export const MentionNote = memo(function MentionNote({ id }: { id: string }) {
onKeyDown={(e) => openThread(e, id)}
role="button"
tabIndex={0}
className="mb-2 mt-3 cursor-default rounded-lg bg-white/10 px-3 py-3 backdrop-blur-xl"
className="cursor-default rounded-lg bg-white/10 px-3 py-3 backdrop-blur-xl"
>
<User pubkey={data.pubkey} time={data.created_at} size="small" />
<div>{renderKind(data)}</div>
<div className="mt-1">{renderKind(data)}</div>
</div>
);
});