aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views/timeline/Timeline.tsx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-11 23:14:23 +0800
committercrupest <crupest@outlook.com>2022-04-11 23:14:23 +0800
commitc645e08ffd2fa572504b77d705a8f9d1507a718e (patch)
treeea3a6a7477b391fbf86077a636595141a6de2256 /FrontEnd/src/views/timeline/Timeline.tsx
parent9c0cb8f8d3944c813ef28ff9f736f148fd701a66 (diff)
downloadtimeline-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.tsx2
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);
}