Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -17,7 +17,6 @@ const messages = defineMessages({
|
||||
confirmationMessage: { id: 'confirmations.leave_group.message', defaultMessage: 'You are about to leave the group. Do you want to continue?' },
|
||||
leave: { id: 'group.leave.label', defaultMessage: 'Leave' },
|
||||
leaveSuccess: { id: 'group.leave.success', defaultMessage: 'Left the group' },
|
||||
report: { id: 'group.report.label', defaultMessage: 'Report' },
|
||||
share: { id: 'group.share.label', defaultMessage: 'Share' },
|
||||
});
|
||||
|
||||
|
||||
@ -77,15 +77,6 @@ const GroupTimeline: React.FC<IGroupTimeline> = (props) => {
|
||||
shouldCondense
|
||||
autoFocus={false}
|
||||
group={groupId}
|
||||
extra={!group.locked && (
|
||||
<HStack alignItems='center' space={4}>
|
||||
<label className='ml-auto cursor-pointer' htmlFor='group-timeline-visible'>
|
||||
<Text theme='muted'>
|
||||
<FormattedMessage id='compose_group.share_to_followers' defaultMessage='Share with my followers' />
|
||||
</Text>
|
||||
</label>
|
||||
</HStack>
|
||||
)}
|
||||
/>
|
||||
</HStack>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user