aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDhravya <[email protected]>2024-06-24 23:37:51 -0500
committerDhravya <[email protected]>2024-06-24 23:37:51 -0500
commita0a6d3bf0b6580595993f976bb923f866054ea4c (patch)
tree2b902283e58ea740f1eb8bfc0eebdec416261f3e
parentadded toast for loading and fixed chathistory (diff)
downloadsupermemory-a0a6d3bf0b6580595993f976bb923f866054ea4c.tar.xz
supermemory-a0a6d3bf0b6580595993f976bb923f866054ea4c.zip
close modal after adding memory
-rw-r--r--apps/web/app/(dash)/dynamicisland.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/web/app/(dash)/dynamicisland.tsx b/apps/web/app/(dash)/dynamicisland.tsx
index 1f09fcda..a26b127f 100644
--- a/apps/web/app/(dash)/dynamicisland.tsx
+++ b/apps/web/app/(dash)/dynamicisland.tsx
@@ -272,6 +272,8 @@ function PageForm({
} else {
toast.error("Memory creation failed");
}
+
+ cancelfn();
}}
className="bg-secondary border border-muted-foreground px-4 py-3 rounded-2xl mt-2 flex flex-col gap-3"
>