From 4133d7122a54faf85458151d36c5fc040db7baef Mon Sep 17 00:00:00 2001
From: crupest <crupest@outlook.com>
Date: Tue, 1 Aug 2023 00:40:18 +0800
Subject: ...

---
 FrontEnd/src/pages/timeline/TimelinePostView.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'FrontEnd/src/pages/timeline/TimelinePostView.tsx')

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;
-- 
cgit v1.2.3

