From fab4b8aa66d68d8f05b8a6f3d261d78e608952b4 Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 16 May 2022 11:35:19 +0100 Subject: [PATCH] Removed debug logging --- packages/builder/src/components/start/CreateAppModal.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/builder/src/components/start/CreateAppModal.svelte b/packages/builder/src/components/start/CreateAppModal.svelte index e46f4f9302..c88c2fe035 100644 --- a/packages/builder/src/components/start/CreateAppModal.svelte +++ b/packages/builder/src/components/start/CreateAppModal.svelte @@ -26,13 +26,12 @@ const lastChar = $auth.user?.firstName ? $auth.user?.firstName[$auth.user?.firstName.length - 1] : null - console.log(lastChar) + defaultAppName = lastChar && lastChar.toLowerCase() == "s" ? `${$auth.user?.firstName} app` : `${$auth.user.firstName}s app` - console.log(defaultAppName) $values.name = resolveAppName( template, !$auth.user?.firstName ? "My app" : defaultAppName