diff options
author | crupest <crupest@outlook.com> | 2022-04-11 23:14:23 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-04-11 23:14:23 +0800 |
commit | c645e08ffd2fa572504b77d705a8f9d1507a718e (patch) | |
tree | ea3a6a7477b391fbf86077a636595141a6de2256 /FrontEnd/src/views/timeline/Timeline.tsx | |
parent | 9c0cb8f8d3944c813ef28ff9f736f148fd701a66 (diff) | |
download | timeline-c645e08ffd2fa572504b77d705a8f9d1507a718e.tar.gz timeline-c645e08ffd2fa572504b77d705a8f9d1507a718e.tar.bz2 timeline-c645e08ffd2fa572504b77d705a8f9d1507a718e.zip |
...
Diffstat (limited to 'FrontEnd/src/views/timeline/Timeline.tsx')
-rw-r--r-- | FrontEnd/src/views/timeline/Timeline.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FrontEnd/src/views/timeline/Timeline.tsx b/FrontEnd/src/views/timeline/Timeline.tsx index e8ed9fe5..a2047651 100644 --- a/FrontEnd/src/views/timeline/Timeline.tsx +++ b/FrontEnd/src/views/timeline/Timeline.tsx @@ -89,7 +89,7 @@ const Timeline: React.FC<TimelineProps> = (props) => { ([t, p]) => { if (subscribe) { setTimeline(t); - setPosts(p); + setPosts(p.items); setState("loaded"); onTimelineLoaded.current?.(t); } |