From fe2fef0f854275049b6edf3ce676e0a81e1766ee Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Tue, 21 Feb 2023 15:31:38 +0700 Subject: [PATCH] updated preview component --- src/components/note/atoms/user.tsx | 4 +- src/components/note/content/ImagePreview.tsx | 20 ---- src/components/note/content/index.tsx | 98 ++++++++++--------- .../note/content/preview/imageCard.tsx | 2 +- src/components/note/liked.tsx | 2 +- src/components/note/multi.tsx | 2 +- src/components/note/repost.tsx | 2 +- 7 files changed, 59 insertions(+), 71 deletions(-) delete mode 100644 src/components/note/content/ImagePreview.tsx diff --git a/src/components/note/atoms/user.tsx b/src/components/note/atoms/user.tsx index 8d8713f1..1a4f43df 100644 --- a/src/components/note/atoms/user.tsx +++ b/src/components/note/atoms/user.tsx @@ -42,11 +42,11 @@ export const User = memo(function User({ pubkey, time }: { pubkey: string; time: