diff --git a/src/components/todoStuff/todoSidebar.js b/src/components/todoStuff/todoSidebar.js
index 03d1809..f3d3976 100644
--- a/src/components/todoStuff/todoSidebar.js
+++ b/src/components/todoStuff/todoSidebar.js
@@ -22,8 +22,6 @@ export default function Todos({
} = card
const voteable = columns[card.state].clickable
- console.log(card)
-
// TODO: hide vote button if not voteable
return (
diff --git a/src/pages/_app.js b/src/pages/_app.js
index dab7bf8..18161cb 100644
--- a/src/pages/_app.js
+++ b/src/pages/_app.js
@@ -54,31 +54,4 @@ function MyApp({ Component, pageProps, router }) {
)
}
-// MyApp.getStaticProps = () => {
-// console.log('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')
-// const res = await fetch('https://stuff.frylabs.net/asd.json', {
-// credentials: 'include',
-// })
-// const resp = await res.json()
-// console.log('aaaaaaaaaaaaa', resp)
-// return {
-// props: {
-// msg: 'aaaaa',
-// fetched: resp,
-// },
-// }
-// }
-
-// Only uncomment this method if you have blocking data requirements for
-// every single page in your application. This disables the ability to
-// perform automatic static optimization, causing every page in your app to
-// be server-side rendered.
-//
-// MyApp.getInitialProps = async (appContext) => {
-// // calls page's `getInitialProps` and fills `appProps.pageProps`
-// const appProps = await App.getInitialProps(appContext);
-//
-// return { ...appProps }
-// }
-
export default MyApp
diff --git a/src/pages/allQuestions.js b/src/pages/allQuestions.js
index 0f40f12..06837db 100644
--- a/src/pages/allQuestions.js
+++ b/src/pages/allQuestions.js
@@ -105,7 +105,6 @@ export default function AllQuestions({ router }) {
if (key === 'all') {
fetchAllData(dbs).then((res) => {
setData(mergeData(res))
- console.log(res)
})
} else {
fetchData(dbs[key]).then((res) => {
diff --git a/src/pages/feedback.js b/src/pages/feedback.js
index 8271301..80e3436 100644
--- a/src/pages/feedback.js
+++ b/src/pages/feedback.js
@@ -96,13 +96,12 @@ export default function Feedback(props) {
if (resp.success) {
setResult(results.success)
} else {
- console.log(resp)
setResult(results.error)
}
})
.catch((e) => {
setResult(results.error)
- console.log(e)
+ console.error(e)
})
if (file) {
@@ -126,13 +125,12 @@ export default function Feedback(props) {
if (resp.success) {
setFileResult(results.success)
} else {
- console.log(resp)
setFileResult(results.error)
}
})
.catch((e) => {
setFileResult(results.error)
- console.log('FILE', e)
+ console.error('FILE error', e)
})
}
}
@@ -206,28 +204,22 @@ export default function Feedback(props) {
const renderStuff = () => {
if (result === results.notSent && fileResult === results.notSent) {
- console.log('both not sent')
return
{renderForm({})}
} else if (result === results.invalid) {
- console.log('result is invalid')
return (
{renderForm({ noDesc: true })}
)
} else if (result === results.success && !file) {
- console.log('text sucess, no file')
return
Visszajelzés elküldve c:
} else if (result === results.error && fileResult === results.success) {
- console.log('file sucess only')
return
Hiba küldés közben :c
} else if (result === results.success && fileResult === results.error) {
- console.log('text sucess only')
return (
Visszajelzés elküldve, de fájlt nem sikerült elküldeni :c
)
} else if (result === results.success && fileResult === results.success) {
- console.log('both sucess')
return
Visszajelzés elküldve c:
} else {
return
Bit of a fuckup here
diff --git a/src/pages/index.js b/src/pages/index.js
index c9e5a9e..ae2484f 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -157,7 +157,6 @@ export default function Index(props) {
setAllQrSelector(null)
}}
onDbSelect={(selectedDb) => {
- console.log(selectedDb, allQrSelector)
if (allQrSelector === 'txt') {
if (selectedDb === 'all') {
window.open(`${constants.apiUrl}allqr.txt`, '_blank')
diff --git a/src/pages/pwRequest.js b/src/pages/pwRequest.js
index b701265..6743df0 100644
--- a/src/pages/pwRequest.js
+++ b/src/pages/pwRequest.js
@@ -68,11 +68,11 @@ export default function PwRequest(props) {
})
.catch((e) => {
setResult([...result, 'Szerver oldali hiba!'])
- console.log(e)
+ console.error(e)
})
} catch (e) {
setResult([...result, 'Szerver oldali hiba!'])
- console.log(e)
+ console.error(e)
}
}