diff --git a/apps/web/.npmrc b/apps/web/.npmrc
new file mode 100644
index 00000000..d7cd57c2
--- /dev/null
+++ b/apps/web/.npmrc
@@ -0,0 +1,2 @@
+@tiptap-pro:registry=https://registry.tiptap.dev/
+//registry.tiptap.dev/:_authToken={add auth token from tiptap website}
\ No newline at end of file
diff --git a/apps/web/app/(dash)/(memories)/content.tsx b/apps/web/app/(dash)/(memories)/content.tsx
index 5d81e823..74f95849 100644
--- a/apps/web/app/(dash)/(memories)/content.tsx
+++ b/apps/web/app/(dash)/(memories)/content.tsx
@@ -37,7 +37,17 @@ 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";
type TMemoriesPage = {
memoriesAndSpaces: { memories: Content[]; spaces: StoredSpace[] };
@@ -156,7 +166,6 @@ export function MemoriesPage({
{currentSpace && (
-
{usersWithAccess && usersWithAccess.length > 0 && (
Users with access
@@ -292,7 +301,8 @@ function SpaceComponent({
>
- {title.slice(0, 2).toUpperCase()}{id}
+ {title.slice(0, 2).toUpperCase()}
+ {id}
@@ -304,8 +314,11 @@ function SpaceComponent({
-
- {handleDeleteSpace(id)}} />
+ {
+ handleDeleteSpace(id);
+ }}
+ />
@@ -454,26 +467,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;
diff --git a/apps/web/app/(dash)/menu.tsx b/apps/web/app/(dash)/menu.tsx
index abac5411..68466cb1 100644
--- a/apps/web/app/(dash)/menu.tsx
+++ b/apps/web/app/(dash)/menu.tsx
@@ -11,6 +11,7 @@ import {
} from "@repo/ui/icons";
import { Button } from "@repo/ui/shadcn/button";
import { MinusIcon, PlusCircleIcon } from "lucide-react";
+import Editor from "@/components/editor/advanced-editor";
import {
Dialog,
DialogContent,
@@ -58,20 +59,16 @@ function Menu() {
},
];
-
-
const [dialogOpen, setDialogOpen] = useState(false);
return (
- <>
+
{/* Desktop Menu */}