This commit is contained in:
Ren Amamiya
2023-07-25 08:09:26 +07:00
parent d30be10568
commit a1b93cdb72
11 changed files with 361 additions and 362 deletions

View File

@@ -10,18 +10,9 @@ import {
VideoPreview,
} from '@shared/notes';
export function NoteContent({
content,
}: {
content: {
original: string;
parsed: string;
notes: string[];
images: string[];
videos: string[];
links: string[];
};
}) {
import { Content } from '@utils/types';
export function NoteContent({ content }: { content: Content }) {
return (
<>
<ReactMarkdown

View File

@@ -25,7 +25,7 @@ export function ThreadUser({ pubkey, time }: { pubkey: string; time: number }) {
/>
<div className="lex flex-1 items-baseline justify-between">
<div className="inline-flex w-full items-center justify-between">
<h5 className="truncate font-semibold leading-none text-zinc-100">
<h5 className="max-w-[15rem] truncate font-semibold leading-none text-zinc-100">
{user?.nip05?.toLowerCase() || user?.name || user?.display_name}
</h5>
<button