From 33c0d2807523cf346951ebbc12ecdc8acf7036cd Mon Sep 17 00:00:00 2001 From: Dhravya Date: Sun, 30 Jun 2024 19:26:10 -0500 Subject: [PATCH] removed unwanted information from the memories page --- apps/web/app/(dash)/memories/content.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/web/app/(dash)/memories/content.tsx b/apps/web/app/(dash)/memories/content.tsx index 6b0b31b7..3cc207c0 100644 --- a/apps/web/app/(dash)/memories/content.tsx +++ b/apps/web/app/(dash)/memories/content.tsx @@ -126,7 +126,6 @@ function TabComponent({ title: string; description: string; }) { - // TODO: Display the space name and desription which is the number of elemenet in the space return (
@@ -165,10 +164,9 @@ function LinkComponent({ image?: string; description: string; }) { - // TODO: DISPLAY THE ITEM BASED ON `type` being note or page return ( {type === "page" ? ( @@ -177,7 +175,10 @@ function LinkComponent({ Page
{title}
-
{url}
+
+ {url.replace("https://beta.supermemory.ai", "").split("#")[0] ?? + "/"} +
) : type === "note" ? ( <>