aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/views')
-rw-r--r--FrontEnd/src/views/timeline/Timeline.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/FrontEnd/src/views/timeline/Timeline.tsx b/FrontEnd/src/views/timeline/Timeline.tsx
index a2047651..7fb58e0c 100644
--- a/FrontEnd/src/views/timeline/Timeline.tsx
+++ b/FrontEnd/src/views/timeline/Timeline.tsx
@@ -89,7 +89,11 @@ const Timeline: React.FC<TimelineProps> = (props) => {
([t, p]) => {
if (subscribe) {
setTimeline(t);
- setPosts(p.items);
+ setPosts(
+ p.items.filter(
+ (p): p is HttpTimelinePostInfo => p.deleted === false
+ )
+ );
setState("loaded");
onTimelineLoaded.current?.(t);
}