diff options
| author | Dhravya Shah <[email protected]> | 2024-08-06 11:51:54 -0700 |
|---|---|---|
| committer | Dhravya Shah <[email protected]> | 2024-08-06 11:51:54 -0700 |
| commit | e652d3a10e0d0a0733a97bc96891361a8a64a007 (patch) | |
| tree | 21dd173f53e4b8e747dd78175e11784a1400dac4 /apps/web | |
| parent | make use of the promise-based thingy we're doing (diff) | |
| download | supermemory-e652d3a10e0d0a0733a97bc96891361a8a64a007.tar.xz supermemory-e652d3a10e0d0a0733a97bc96891361a8a64a007.zip | |
uncomment
Diffstat (limited to 'apps/web')
| -rw-r--r-- | apps/web/app/(dash)/dialogContentContainer.tsx | 5 |
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." |