diff --git a/apps/web/app/(dash)/(memories)/content.tsx b/apps/web/app/(dash)/(memories)/content.tsx
index 5d81e823..651b628a 100644
--- a/apps/web/app/(dash)/(memories)/content.tsx
+++ b/apps/web/app/(dash)/(memories)/content.tsx
@@ -37,7 +37,22 @@ import { toast } from "sonner";
import { Input } from "@repo/ui/shadcn/input";
import { motion } from "framer-motion";
import { useSearchParams } from "next/navigation";
-import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from "@repo/ui/shadcn/alert-dialog";
+import {
+ AlertDialog,
+ AlertDialogAction,
+ AlertDialogCancel,
+ AlertDialogContent,
+ AlertDialogDescription,
+ AlertDialogFooter,
+ AlertDialogHeader,
+ AlertDialogTitle,
+ AlertDialogTrigger,
+} from "@repo/ui/shadcn/alert-dialog";
+import {
+ BookOpenIcon,
+ DocumentTextIcon,
+ FolderIcon,
+} from "@heroicons/react/24/outline";
type TMemoriesPage = {
memoriesAndSpaces: { memories: Content[]; spaces: StoredSpace[] };
@@ -156,7 +171,6 @@ export function MemoriesPage({
{currentSpace && (
-
{usersWithAccess && usersWithAccess.length > 0 && (
Users with access
@@ -280,9 +294,9 @@ function SpaceComponent({
handleDeleteSpace: (id: number) => void;
}) {
return (
-
+
- Space
+ Space
@@ -290,12 +304,7 @@ function SpaceComponent({
href={`/space/${id}`}
className="flex items-center justify-between w-full"
>
-
-
- {title.slice(0, 2).toUpperCase()}{id}
-
-
-
+
@@ -303,9 +312,12 @@ function SpaceComponent({
-
-
-
{handleDeleteSpace(id)}} />
+
+ {
+ handleDeleteSpace(id);
+ }}
+ />
@@ -344,7 +356,7 @@ function MemoryComponent({
{type === "page" ? (
<>
{/* remove `<---chunkId: ${vector.id}\n${content}\n---->` pattern from title */}
@@ -357,7 +369,7 @@ function MemoryComponent({
) : type === "note" ? (
<>
- Note
+ Note
{title.replace(/(<---chunkId: .*?\n.*?\n---->)/g, "")}
@@ -454,26 +466,28 @@ function Filters({
);
}
-function SpaceDeleteAlert({onClick}: {onClick: ()=> void}){
+function SpaceDeleteAlert({ onClick }: { onClick: () => void }) {
return (
-
-
-
- Are you absolutely sure?
-
- This is irreversible. This will delete the space and all memories inside it.
-
-
-
- Cancel
- Delete
-
-
-
- )
+
+ {" "}
+
+
+
+
+ Are you absolutely sure?
+
+ This is irreversible. This will delete the space and all memories
+ inside it.
+
+
+
+ Cancel
+ Delete
+
+
+
+ );
}
-export default MemoriesPage;
\ No newline at end of file
+export default MemoriesPage;