pl-fe: remove unused code

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-20 21:07:10 +02:00
parent 7072401f18
commit 41f17e17c5
2 changed files with 0 additions and 4 deletions

View file

@ -39,8 +39,6 @@ interface IStatusList extends Omit<IScrollableList, 'onLoadMore' | 'children'> {
timelineId?: string; timelineId?: string;
/** Whether to display a gap or border between statuses in the list. */ /** Whether to display a gap or border between statuses in the list. */
divideType?: 'space' | 'border'; divideType?: 'space' | 'border';
/** Whether to display ads. */
showAds?: boolean;
/** Whether to show group information. */ /** Whether to show group information. */
showGroup?: boolean; showGroup?: boolean;
} }
@ -55,7 +53,6 @@ const StatusList: React.FC<IStatusList> = ({
timelineId, timelineId,
isLoading, isLoading,
isPartial, isPartial,
showAds = false,
showGroup = true, showGroup = true,
className, className,
...other ...other

View file

@ -68,7 +68,6 @@ const HomeTimeline: React.FC = () => {
onLoadMore={handleLoadMore} onLoadMore={handleLoadMore}
timelineId='home' timelineId='home'
divideType={(theme === 'black' || isMobile) ? 'border' : 'space'} divideType={(theme === 'black' || isMobile) ? 'border' : 'space'}
showAds
emptyMessage={ emptyMessage={
<Stack space={1}> <Stack space={1}>
<Text size='xl' weight='medium' align='center'> <Text size='xl' weight='medium' align='center'>