diff options
author | crupest <crupest@outlook.com> | 2021-01-19 16:23:27 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-19 16:23:27 +0800 |
commit | c3cf26a7788d97135e0f2a3e247e6cbe6b1b9664 (patch) | |
tree | c5e399a7651e99746ea60bb8ec27d88d2e06c059 /FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | |
parent | a5deeea162433c52a3b07c20b34831522ee01acb (diff) | |
download | timeline-c3cf26a7788d97135e0f2a3e247e6cbe6b1b9664.tar.gz timeline-c3cf26a7788d97135e0f2a3e247e6cbe6b1b9664.tar.bz2 timeline-c3cf26a7788d97135e0f2a3e247e6cbe6b1b9664.zip |
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
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> ) ) : ( |