GroupLinkPreview: link to slug URL
This commit is contained in:
parent
bf8efeee9e
commit
70c2c5c438
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ const GroupLinkPreview: React.FC<IGroupLinkPreview> = ({ card }) => {
|
||||||
const { group } = card;
|
const { group } = card;
|
||||||
if (!group) return null;
|
if (!group) return null;
|
||||||
|
|
||||||
const navigateToGroup = () => history.push(`/groups/${group.id}`);
|
const navigateToGroup = () => history.push(`/group/${group.slug}`);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
|
<Stack className='cursor-default overflow-hidden rounded-lg border border-gray-300 text-center dark:border-gray-800'>
|
||||||
|
|
Loading…
Reference in a new issue