chore(shared): Remove debug output
This commit is contained in:
parent
59adf43911
commit
fec3186834
5 changed files with 0 additions and 5 deletions
|
@ -51,7 +51,6 @@ const BookmarkPage = ({ page }) => {
|
||||||
else setLoadingStatus([false])
|
else setLoadingStatus([false])
|
||||||
}
|
}
|
||||||
const newId = getSearchParam('id')
|
const newId = getSearchParam('id')
|
||||||
console.log({ newId })
|
|
||||||
if (newId !== id) {
|
if (newId !== id) {
|
||||||
setId(newId)
|
setId(newId)
|
||||||
getBookmark(newId)
|
getBookmark(newId)
|
||||||
|
|
|
@ -45,7 +45,6 @@ const ConfirmSignUpPage = () => {
|
||||||
router.push('/welcome')
|
router.push('/welcome')
|
||||||
} else {
|
} else {
|
||||||
// Something went wrong
|
// Something went wrong
|
||||||
console.log('something went wrong')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,6 @@ const OauthCallbackPage = ({ page, provider }) => {
|
||||||
const state = urlParams.get('state')
|
const state = urlParams.get('state')
|
||||||
const code = urlParams.get('code')
|
const code = urlParams.get('code')
|
||||||
const result = await backend.oauthSignIn({ state, code, provider })
|
const result = await backend.oauthSignIn({ state, code, provider })
|
||||||
console.log({ state, code, result })
|
|
||||||
if (result.data?.account && result.data?.token) {
|
if (result.data?.account && result.data?.token) {
|
||||||
setAccount(result.data.account)
|
setAccount(result.data.account)
|
||||||
setToken(result.data.token)
|
setToken(result.data.token)
|
||||||
|
|
|
@ -71,7 +71,6 @@ export const ShowPattern = ({ id }) => {
|
||||||
let result
|
let result
|
||||||
try {
|
try {
|
||||||
result = await backend.getPattern(id)
|
result = await backend.getPattern(id)
|
||||||
console.log('first attempt', result)
|
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
setPattern(result.data.pattern)
|
setPattern(result.data.pattern)
|
||||||
setIsOwn(true)
|
setIsOwn(true)
|
||||||
|
|
|
@ -59,7 +59,6 @@ export const Breadcrumbs = ({ lead = false }) => {
|
||||||
|
|
||||||
// Home page?
|
// Home page?
|
||||||
if (slug === '') return <ul className="flex flex-row flex-wrap items-center">{crumbs}</ul>
|
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
|
// Then split the slug and add a crumb for each
|
||||||
const chunks = slug.split('/')
|
const chunks = slug.split('/')
|
||||||
for (let i = 1; i <= chunks.length; i++) {
|
for (let i = 1; i <= chunks.length; i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue