From c45ad04d8751562c2ef231dde8abf6473d2c655d Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Fri, 24 Feb 2023 08:06:50 +0700 Subject: [PATCH] fixed note modal --- src/components/note/modal/index.tsx | 3 --- src/components/note/modal/noteReply.tsx | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/components/note/modal/index.tsx b/src/components/note/modal/index.tsx index f690e344..5665c7cb 100644 --- a/src/components/note/modal/index.tsx +++ b/src/components/note/modal/index.tsx @@ -1,4 +1,3 @@ -import { UserWithUsername } from '@components/note/atoms/userWithUsername'; import { Content } from '@components/note/content'; import NoteReply from '@components/note/modal/noteReply'; @@ -12,7 +11,6 @@ const Modal = ({ event }: { event: any }) => { '#e': [event.id], since: event.created_at, kinds: [1], - limit: 100, }, }); @@ -23,7 +21,6 @@ const Modal = ({ event }: { event: any }) => {
-
diff --git a/src/components/note/modal/noteReply.tsx b/src/components/note/modal/noteReply.tsx index 561011a7..091f621e 100644 --- a/src/components/note/modal/noteReply.tsx +++ b/src/components/note/modal/noteReply.tsx @@ -1,18 +1,10 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -import { User } from '@components/note/atoms/user'; import { Content } from '@components/note/content'; export default function NoteReply({ event }: { event: any }) { return (
-
- -
-
- -
-
-
+
); }