about summary refs log tree commit diff
path: root/src/components/Dialog
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-18 22:05:51 +0000
committerGitHub <noreply@github.com>2024-11-18 22:05:51 +0000
commit4f0f9eb4139a8c3439be0125ffd982b3cbf5c9b5 (patch)
tree5715ca833c9f07e61e647f286ae90dd30c7f2ebd /src/components/Dialog
parent1486e5cc5a0bb576e7b182922061c6f7885c93f2 (diff)
downloadvoidsky-4f0f9eb4139a8c3439be0125ffd982b3cbf5c9b5.tar.zst
Fix TagMenu initial render perf (#6483)
* Split tag menu dialog content

* Log the actual error please

* Fix it on native
Diffstat (limited to 'src/components/Dialog')
-rw-r--r--src/components/Dialog/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx
index 0e78fcf97..c9455c5cc 100644
--- a/src/components/Dialog/index.tsx
+++ b/src/components/Dialog/index.tsx
@@ -75,7 +75,7 @@ export function Outer({
       try {
         cb()
       } catch (e: any) {
-        logger.error('Error running close callback', e)
+        logger.error(e || 'Error running close callback')
       }
     }