Remove Truth Social-specific features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -30,7 +30,7 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
|
||||
|
||||
const path = history.location.pathname;
|
||||
const shouldHideAction = matchPath(path, {
|
||||
path: ['/group/:groupSlug'],
|
||||
path: ['/group/:groupId'],
|
||||
exact: true,
|
||||
});
|
||||
|
||||
@ -88,7 +88,7 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
|
||||
|
||||
{!shouldHideAction && (
|
||||
<div className='px-4'>
|
||||
<Link to={`/group/${group.slug}`}>
|
||||
<Link to={`/group/${group.id}`}>
|
||||
<Button type='button' theme='secondary' block>
|
||||
{intl.formatMessage(messages.action)}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user