1 import { hostname } from "@utils/helpers";
2 import { CommunityView } from "lemmy-js-client";
4 export default function communitySelectName(cv: CommunityView): string {
5 return cv.community.local
7 : `${hostname(cv.community.actor_id)}/${cv.community.title}`;