Add menu to threads

This commit is contained in:
Jon Staab
2024-10-23 16:16:28 -07:00
parent 09028b69a4
commit 306a0f0f3d
14 changed files with 227 additions and 216 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ export const makeSpacePath = (url: string, extra = "") => {
export const makeChatPath = (pubkeys: string[]) => `/chat/${makeChatId(pubkeys)}`
export const makeThreadPath = (url: string, eventId: string) => `/spaces/${encodeRelay(url)}/threads/${eventId}`
export const makeThreadPath = (url: string, eventId: string) =>
`/spaces/${encodeRelay(url)}/threads/${eventId}`
export const getPrimaryNavItem = ($page: Page) => $page.route?.id?.split("/")[1]