fix: use PureStatus instead of StatusContainer
This commit is contained in:
parent
231f3ff56a
commit
440ed28b11
|
@ -6,7 +6,6 @@ import { FormattedMessage } from 'react-intl';
|
||||||
import LoadGap from 'soapbox/components/load-gap.tsx';
|
import LoadGap from 'soapbox/components/load-gap.tsx';
|
||||||
import PureStatus from 'soapbox/components/pure-status.tsx';
|
import PureStatus from 'soapbox/components/pure-status.tsx';
|
||||||
import ScrollableList from 'soapbox/components/scrollable-list.tsx';
|
import ScrollableList from 'soapbox/components/scrollable-list.tsx';
|
||||||
import StatusContainer from 'soapbox/containers/status-container.tsx';
|
|
||||||
import { EntityTypes, Entities } from 'soapbox/entity-store/entities.ts';
|
import { EntityTypes, Entities } from 'soapbox/entity-store/entities.ts';
|
||||||
import FeedSuggestions from 'soapbox/features/feed-suggestions/feed-suggestions.tsx';
|
import FeedSuggestions from 'soapbox/features/feed-suggestions/feed-suggestions.tsx';
|
||||||
import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status.tsx';
|
import PlaceholderStatus from 'soapbox/features/placeholder/components/placeholder-status.tsx';
|
||||||
|
@ -154,15 +153,15 @@ const PureStatusList: React.FC<IPureStatusList> = ({
|
||||||
if (!featuredStatuses) return [];
|
if (!featuredStatuses) return [];
|
||||||
|
|
||||||
return (featuredStatuses ?? []).map(status => (
|
return (featuredStatuses ?? []).map(status => (
|
||||||
<StatusContainer
|
<PureStatus
|
||||||
|
status={status}
|
||||||
key={`f-${status.id}`}
|
key={`f-${status.id}`}
|
||||||
id={status.id}
|
id={status.id}
|
||||||
featured
|
featured
|
||||||
onMoveUp={handleMoveUp}
|
onMoveUp={handleMoveUp}
|
||||||
onMoveDown={handleMoveDown}
|
onMoveDown={handleMoveDown}
|
||||||
contextType={timelineId}
|
|
||||||
showGroup={showGroup}
|
showGroup={showGroup}
|
||||||
variant={divideType === 'border' ? 'slim' : 'default'}
|
variant={divideType === 'border' ? 'slim' : 'default'} // shouldn't "default" be changed to "rounded" ?
|
||||||
/>
|
/>
|
||||||
));
|
));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue