From 70c2c5c4385cd84ea4b1be00bb484bdcaed9922b Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 18 Apr 2023 10:00:18 -0400 Subject: [PATCH] GroupLinkPreview: link to slug URL --- app/soapbox/features/groups/components/group-link-preview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/groups/components/group-link-preview.tsx b/app/soapbox/features/groups/components/group-link-preview.tsx index be0e9f746..18ca586a5 100644 --- a/app/soapbox/features/groups/components/group-link-preview.tsx +++ b/app/soapbox/features/groups/components/group-link-preview.tsx @@ -14,7 +14,7 @@ const GroupLinkPreview: React.FC = ({ card }) => { const { group } = card; if (!group) return null; - const navigateToGroup = () => history.push(`/groups/${group.id}`); + const navigateToGroup = () => history.push(`/group/${group.slug}`); return (