aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-19 16:23:27 +0800
committercrupest <crupest@outlook.com>2021-01-19 16:23:27 +0800
commit4bc76208c7f0b419b0a6744adbcf34dfded4caa1 (patch)
tree43cf51a40846cddba08253b8a8c6d76490cdf141 /FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx
parent3d2698df763910405b11a8bddcac4c9ae5841583 (diff)
downloadtimeline-4bc76208c7f0b419b0a6744adbcf34dfded4caa1.tar.gz
timeline-4bc76208c7f0b419b0a6744adbcf34dfded4caa1.tar.bz2
timeline-4bc76208c7f0b419b0a6744adbcf34dfded4caa1.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelinePageTemplateUI.tsx7
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>
)
) : (