From 4bc76208c7f0b419b0a6744adbcf34dfded4caa1 Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 19 Jan 2021 16:23:27 +0800
Subject: ...

---
 FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx')

diff --git a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
index 815906d3..dbb47387 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
@@ -24,7 +24,6 @@ export interface TimelineCardComponentProps<TManageItems> {
 }
 
 export interface TimelinePageTemplateUIOperations<TManageItems> {
-  onDeletePost: (post: TimelinePostInfo) => void;
   onManage?: (item: TManageItems | "property") => void;
   onMember: () => void;
   onBookmark?: () => void;
@@ -129,11 +128,7 @@ export default function TimelinePageTemplateUI<TManageItems>(
                 minHeight: `calc(100vh - ${56 + bottomSpaceHeight}px)`,
               }}
             >
-              <Timeline
-                timeline={timeline}
-                posts={posts}
-                onDelete={operations.onDeletePost}
-              />
+              <Timeline timeline={timeline} posts={posts} />
             </div>
           )
         ) : (
-- 
cgit v1.2.3

