diff options
author | crupest <crupest@outlook.com> | 2023-08-01 00:40:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-01 00:41:47 +0800 |
commit | 4133d7122a54faf85458151d36c5fc040db7baef (patch) | |
tree | 8d69592a8eab4cdf72eb7311da26fa8a0fc57d1c /FrontEnd/src/pages/timeline/TimelinePostView.tsx | |
parent | e6ccc0174a86a0ade240e6551228598cd81f984b (diff) | |
download | timeline-4133d7122a54faf85458151d36c5fc040db7baef.tar.gz timeline-4133d7122a54faf85458151d36c5fc040db7baef.tar.bz2 timeline-4133d7122a54faf85458151d36c5fc040db7baef.zip |
...
Diffstat (limited to 'FrontEnd/src/pages/timeline/TimelinePostView.tsx')
-rw-r--r-- | FrontEnd/src/pages/timeline/TimelinePostView.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/FrontEnd/src/pages/timeline/TimelinePostView.tsx b/FrontEnd/src/pages/timeline/TimelinePostView.tsx index 2648fa21..07f2e0f0 100644 --- a/FrontEnd/src/pages/timeline/TimelinePostView.tsx +++ b/FrontEnd/src/pages/timeline/TimelinePostView.tsx @@ -18,14 +18,14 @@ import TimelinePostCard from "./TimelinePostCard"; import "./TimelinePostView.css"; -export interface TimelinePostViewProps { +interface TimelinePostViewProps { post: HttpTimelinePostInfo; className?: string; onChanged: (post: HttpTimelinePostInfo) => void; onDeleted: () => void; } -export function TimelinePostView(props: TimelinePostViewProps) { +export default function TimelinePostView(props: TimelinePostViewProps) { const { post, onDeleted } = props; const [operationMaskVisible, setOperationMaskVisible] = @@ -113,5 +113,3 @@ export function TimelinePostView(props: TimelinePostViewProps) { </TimelinePostContainer> ); } - -export default TimelinePostView; |