From cd5443dd98ba177505ba989eb57206c1da97b3ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sun, 24 Oct 2021 20:58:03 +0200 Subject: [PATCH] Misc. styling & alignment fixes --- src/DatastoreAdmin.tsx | 10 +++++----- src/ui/icons/plus.tsx | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/DatastoreAdmin.tsx b/src/DatastoreAdmin.tsx index a125eee..8533b3b 100644 --- a/src/DatastoreAdmin.tsx +++ b/src/DatastoreAdmin.tsx @@ -39,7 +39,7 @@ function DatastoreAdminView({ project }: { project: string }) { const r = await import_({ inputPath }); return r; } catch (e) { - alert(e.message); + alert((e as Error).message); } }, [import_], @@ -56,7 +56,7 @@ function DatastoreAdminView({ project }: { project: string }) { const r = await export_({ outputPath: outputPath }); alert(`Exported to "${r.outputURL}"`); } catch (e) { - alert(e.message); + alert((e as Error).message); } }, [export_], @@ -82,7 +82,7 @@ function DatastoreAdminView({ project }: { project: string }) { Datastore Admin -