diff options
author | crupest <crupest@outlook.com> | 2021-01-13 14:13:02 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-13 14:13:02 +0800 |
commit | 12e12dff4fb83e125a47b62a2c4be335363de089 (patch) | |
tree | b41d31af16021965f000f7000e0d73710371ea70 /FrontEnd/src/app/views/timeline-common/Timeline.tsx | |
parent | cf14e89a51919e053ba89b0c78ee71940b18e40a (diff) | |
download | timeline-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.tsx | 4 |
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} /> ); }); |