1
0
Fork 0

chore(shared): Remove debug output

This commit is contained in:
joostdecock 2024-02-11 17:44:11 +01:00
parent 59adf43911
commit fec3186834
5 changed files with 0 additions and 5 deletions

View file

@ -51,7 +51,6 @@ const BookmarkPage = ({ page }) => {
else setLoadingStatus([false])
}
const newId = getSearchParam('id')
console.log({ newId })
if (newId !== id) {
setId(newId)
getBookmark(newId)

View file

@ -45,7 +45,6 @@ const ConfirmSignUpPage = () => {
router.push('/welcome')
} else {
// Something went wrong
console.log('something went wrong')
}
}
}

View file

@ -36,7 +36,6 @@ const OauthCallbackPage = ({ page, provider }) => {
const state = urlParams.get('state')
const code = urlParams.get('code')
const result = await backend.oauthSignIn({ state, code, provider })
console.log({ state, code, result })
if (result.data?.account && result.data?.token) {
setAccount(result.data.account)
setToken(result.data.token)

View file

@ -71,7 +71,6 @@ export const ShowPattern = ({ id }) => {
let result
try {
result = await backend.getPattern(id)
console.log('first attempt', result)
if (result.success) {
setPattern(result.data.pattern)
setIsOwn(true)

View file

@ -59,7 +59,6 @@ export const Breadcrumbs = ({ lead = false }) => {
// Home page?
if (slug === '') return <ul className="flex flex-row flex-wrap items-center">{crumbs}</ul>
console.log(slug)
// Then split the slug and add a crumb for each
const chunks = slug.split('/')
for (let i = 1; i <= chunks.length; i++) {