From 41f17e17c5bc10e23744d9cd8353134859454a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Fri, 20 Sep 2024 21:07:10 +0200 Subject: [PATCH] pl-fe: remove unused code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/status-list.tsx | 3 --- packages/pl-fe/src/features/home-timeline/index.tsx | 1 - 2 files changed, 4 deletions(-) diff --git a/packages/pl-fe/src/components/status-list.tsx b/packages/pl-fe/src/components/status-list.tsx index 83f52ddfdb..e44d5936bb 100644 --- a/packages/pl-fe/src/components/status-list.tsx +++ b/packages/pl-fe/src/components/status-list.tsx @@ -39,8 +39,6 @@ interface IStatusList extends Omit { timelineId?: string; /** Whether to display a gap or border between statuses in the list. */ divideType?: 'space' | 'border'; - /** Whether to display ads. */ - showAds?: boolean; /** Whether to show group information. */ showGroup?: boolean; } @@ -55,7 +53,6 @@ const StatusList: React.FC = ({ timelineId, isLoading, isPartial, - showAds = false, showGroup = true, className, ...other diff --git a/packages/pl-fe/src/features/home-timeline/index.tsx b/packages/pl-fe/src/features/home-timeline/index.tsx index 78142adffb..44361f6730 100644 --- a/packages/pl-fe/src/features/home-timeline/index.tsx +++ b/packages/pl-fe/src/features/home-timeline/index.tsx @@ -68,7 +68,6 @@ const HomeTimeline: React.FC = () => { onLoadMore={handleLoadMore} timelineId='home' divideType={(theme === 'black' || isMobile) ? 'border' : 'space'} - showAds emptyMessage={