removing log

This commit is contained in:
Peter Clement 2021-11-11 12:55:04 +00:00
parent 3090b04bb7
commit 35f0384b17
3 changed files with 4 additions and 5 deletions

View File

@ -39,7 +39,7 @@
let route = screenName let route = screenName
? sanitizeUrl(`/${screenName}`) ? sanitizeUrl(`/${screenName}`)
: draftScreen.routing.route : draftScreen.routing.route
console.log(sanitizeUrl(`/${screenName}`))
if (draftScreen) { if (draftScreen) {
if (!route) { if (!route) {
routeError = "URL is required" routeError = "URL is required"
@ -50,7 +50,7 @@
routeError = "" routeError = ""
} }
} }
console.log(routeError)
if (routeError) return false if (routeError) return false
draftScreen.routing.route = route draftScreen.routing.route = route

View File

@ -4,12 +4,11 @@
export let modal export let modal
export let navigationSelectionModal export let navigationSelectionModal
export let screenName export let screenName
$: console.log(name)
</script> </script>
<ModalContent <ModalContent
size="M" size="M"
title={"hello"} title={"Enter name"}
confirmText={"Continue"} confirmText={"Continue"}
onCancel={() => modal.show()} onCancel={() => modal.show()}
onConfirm={() => navigationSelectionModal.show()} onConfirm={() => navigationSelectionModal.show()}

View File

@ -35,7 +35,7 @@
let screenNameModal let screenNameModal
let screenName = "" let screenName = ""
let selectedScreens = [] let selectedScreens = []
$: console.log(screenName)
// Hydrate state from URL params // Hydrate state from URL params
$: hydrateStateFromURL($params, $leftover) $: hydrateStateFromURL($params, $leftover)