Browse Source

Removed debug logging

master
Dean 4 years ago
parent
commit
3461a3c657
  1. 3
      packages/builder/src/components/start/CreateAppModal.svelte

3
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

Loading…
Cancel
Save