aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/web/app/(dash)/dynamicisland.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/app/(dash)/dynamicisland.tsx b/apps/web/app/(dash)/dynamicisland.tsx
index a26b127f..9061b8ad 100644
--- a/apps/web/app/(dash)/dynamicisland.tsx
+++ b/apps/web/app/(dash)/dynamicisland.tsx
@@ -266,14 +266,13 @@ function PageForm({
content: content,
spaces: space ? [space] : undefined,
});
+ cancelfn();
if (cont.success) {
toast.success("Memory created");
} 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"
>