From fa39265142a7aa452a273e4290d58757af2786bb Mon Sep 17 00:00:00 2001
From: yxshv <yashverma30115@gmail.com>
Date: Sun, 14 Apr 2024 14:29:23 +0530
Subject: new modals

---
 apps/web/src/components/Sidebar/AddMemoryDialog.tsx | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'apps/web/src/components/Sidebar/AddMemoryDialog.tsx')

diff --git a/apps/web/src/components/Sidebar/AddMemoryDialog.tsx b/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
index 95bb3d22..f6a7224f 100644
--- a/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
+++ b/apps/web/src/components/Sidebar/AddMemoryDialog.tsx
@@ -165,13 +165,12 @@ export function NoteAddPage({ closeDialog }: { closeDialog: () => void }) {
           onClick={() => {
             if (check()) {
               setLoading(true);
-              const randomId = Math.floor(Math.random() * 1000000);
               addMemory(
                 {
                   content,
                   title: name,
                   type: "note",
-                  url: `https://notes.supermemory.dhr.wtf/${randomId}`,
+                  url: `https://notes.supermemory.dhr.wtf/`,
                   image: "",
                   savedAt: new Date(),
                 },
-- 
cgit v1.2.3

