From 4a013ffb334ab6138e11da96a9201fce4c6fa2da Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Thu, 20 Apr 2023 14:37:02 +0700 Subject: [PATCH] updated quote reposted style --- src/components/note/quoteRepost.tsx | 2 +- src/components/user/quoteRepost.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/note/quoteRepost.tsx b/src/components/note/quoteRepost.tsx index d453147c..32ae36f9 100644 --- a/src/components/note/quoteRepost.tsx +++ b/src/components/note/quoteRepost.tsx @@ -22,7 +22,7 @@ export const NoteQuoteRepost = memo(function NoteQuoteRepost({ event }: { event: return (
-
+
diff --git a/src/components/user/quoteRepost.tsx b/src/components/user/quoteRepost.tsx index d89ef219..f240c7e4 100644 --- a/src/components/user/quoteRepost.tsx +++ b/src/components/user/quoteRepost.tsx @@ -24,8 +24,11 @@ export const UserQuoteRepost = ({ pubkey, time }: { pubkey: string; time: number />
-
- {profile?.display_name || profile?.name || shortenKey(pubkey)} reposted +
+ {profile?.display_name || profile?.name || shortenKey(pubkey)}{' '} + + reposted +
ยท {dayjs().to(dayjs.unix(time))}