From 8bbf454af487b8c48e8dc4279baae20f87e87eb3 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 24 Sep 2023 12:58:58 -0500 Subject: [PATCH] LandingTimeline: display About page instead of the feed if the feed is restricted by the API --- src/features/landing-timeline/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/features/landing-timeline/index.tsx b/src/features/landing-timeline/index.tsx index 1bb748fb5e..95e0004080 100644 --- a/src/features/landing-timeline/index.tsx +++ b/src/features/landing-timeline/index.tsx @@ -7,6 +7,7 @@ import PullToRefresh from 'soapbox/components/pull-to-refresh'; import { Column } from 'soapbox/components/ui'; import { useAppSelector, useAppDispatch, useInstance } from 'soapbox/hooks'; +import AboutPage from '../about'; import Timeline from '../ui/components/timeline'; import { SiteBanner } from './components/site-banner'; @@ -46,7 +47,7 @@ const LandingTimeline = () => { - {timelineEnabled && ( + {timelineEnabled ? ( { divideType='space' /> + ) : ( + )} );