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 | 0833654d91dca0ff36cb6352528f6d00556352c0 (patch) | |
tree | 14c068d13ebfe8a0e43b54b322085379c7efc429 /FrontEnd/src/app/views/timeline-common/Timeline.tsx | |
parent | 717b6d87a133ce39b302176b35918892bcc01894 (diff) | |
download | timeline-0833654d91dca0ff36cb6352528f6d00556352c0.tar.gz timeline-0833654d91dca0ff36cb6352528f6d00556352c0.tar.bz2 timeline-0833654d91dca0ff36cb6352528f6d00556352c0.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} /> ); }); |