diff options
Diffstat (limited to 'ui/src/components/communities.tsx')
-rw-r--r-- | ui/src/components/communities.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/src/components/communities.tsx b/ui/src/components/communities.tsx index 8d130ae7..a3e340ff 100644 --- a/ui/src/components/communities.tsx +++ b/ui/src/components/communities.tsx @@ -14,6 +14,7 @@ import { } from '../interfaces'; import { WebSocketService } from '../services'; import { wsJsonToRes, toast } from '../utils'; +import { CommunityLink } from './community-link'; import { i18n } from '../i18next'; declare const Sortable: any; @@ -104,9 +105,7 @@ export class Communities extends Component<any, CommunitiesState> { {this.state.communities.map(community => ( <tr> <td> - <Link to={`/c/${community.name}`}> - {community.name} - </Link> + <CommunityLink community={community} /> </td> <td class="d-none d-lg-table-cell">{community.title}</td> <td>{community.category_name}</td> |