@@ -1,8 +1,5 @@
1−import { useQuery } from "@tanstack/react-query";
2import { stringToTa, uxToHex } from "@urbit/api";
1import { stringToTa, uxToHex } from "@urbit/api";
3import { parseToRgba } from "color2k";
2import { parseToRgba } from "color2k";
4−import api from "./api";
5−import { ChannelPreview } from "./types";
7export function encodeLookup(value: string | undefined) {
4export function encodeLookup(value: string | undefined) {
8 if (!value) {
5 if (!value) {
@@ -75,7 +72,7 @@ export function refToURL(cite: string): string | { nest: string, where: string }
75 if (type === 'group') {
72 if (type === 'group') {
76 const ship = parts[2];
73 const ship = parts[2];
77 const name = parts[3];
74 const name = parts[3];
78− return `/apps/groups/groups/${ship}/${name}`;
75+ return `/apps/groups/find/${ship}/${name}`;
81 const chanType = parts[2];
78 const chanType = parts[2];