aboutsummaryrefslogtreecommitdiff
path: root/apps/web
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-08-06 11:51:54 -0700
committerDhravya Shah <[email protected]>2024-08-06 11:51:54 -0700
commite652d3a10e0d0a0733a97bc96891361a8a64a007 (patch)
tree21dd173f53e4b8e747dd78175e11784a1400dac4 /apps/web
parentmake use of the promise-based thingy we're doing (diff)
downloadsupermemory-e652d3a10e0d0a0733a97bc96891361a8a64a007.tar.xz
supermemory-e652d3a10e0d0a0733a97bc96891361a8a64a007.zip
uncomment
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/app/(dash)/dialogContentContainer.tsx5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/web/app/(dash)/dialogContentContainer.tsx b/apps/web/app/(dash)/dialogContentContainer.tsx
index f856427f..0b2b615c 100644
--- a/apps/web/app/(dash)/dialogContentContainer.tsx
+++ b/apps/web/app/(dash)/dialogContentContainer.tsx
@@ -174,10 +174,7 @@ export function DialogContentContainer({
]);
setSelectedSpaces((prev) => [...prev, creationTask.data!]);
} else {
- toast.error(
- "Space creation failed: " + creationTask.error ??
- "Unknown error",
- );
+ toast.error("Space creation failed: " + creationTask.error);
}
}}
placeholder="Select or create a new space."