aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/app/views/timeline-common/Timeline.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-13 14:13:02 +0800
committercrupest <crupest@outlook.com>2021-01-13 14:13:02 +0800
commit12e12dff4fb83e125a47b62a2c4be335363de089 (patch)
treeb41d31af16021965f000f7000e0d73710371ea70 /FrontEnd/src/app/views/timeline-common/Timeline.tsx
parentcf14e89a51919e053ba89b0c78ee71940b18e40a (diff)
downloadtimeline-12e12dff4fb83e125a47b62a2c4be335363de089.tar.gz
timeline-12e12dff4fb83e125a47b62a2c4be335363de089.tar.bz2
timeline-12e12dff4fb83e125a47b62a2c4be335363de089.zip
...
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/Timeline.tsx')
-rw-r--r--FrontEnd/src/app/views/timeline-common/Timeline.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/Timeline.tsx b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
index aba868cb..5c8f9195 100644
--- a/FrontEnd/src/app/views/timeline-common/Timeline.tsx
+++ b/FrontEnd/src/app/views/timeline-common/Timeline.tsx
@@ -16,12 +16,11 @@ export interface TimelineProps {
className?: string;
style?: React.CSSProperties;
posts: TimelinePostInfoEx[];
- onResize?: () => void;
containerRef?: React.Ref<HTMLDivElement>;
}
const Timeline: React.FC<TimelineProps> = (props) => {
- const { posts, onResize } = props;
+ const { posts } = props;
const [showMoreIndex, setShowMoreIndex] = React.useState<number>(-1);
@@ -51,7 +50,6 @@ const Timeline: React.FC<TimelineProps> = (props) => {
: undefined
}
onClick={() => setShowMoreIndex(-1)}
- onResize={onResize}
/>
);
});