diff --git a/src/components/AboutThis.jsx b/src/components/AboutThis.jsx
index 55da910..76d2104 100644
--- a/src/components/AboutThis.jsx
+++ b/src/components/AboutThis.jsx
@@ -1,8 +1,6 @@
import React from 'react'
const AboutThis = () => {
-
- console.log('ABOUT THIS DEPLOYED')
return (
diff --git a/src/components/Account.jsx b/src/components/Account.jsx
index ff35108..231602f 100644
--- a/src/components/Account.jsx
+++ b/src/components/Account.jsx
@@ -41,7 +41,6 @@ const Account = () => {
e.target.reset()
const data = await makeRequest()
- console.log(data)
if (await validateRequest(data)) {
@@ -83,7 +82,7 @@ const Account = () => {
return await data
} catch (error) {
- console.log(error)
+
}
}
@@ -111,7 +110,7 @@ const Account = () => {
}
catch (error) {
- console.log(error)
+
return false
}
}
@@ -128,7 +127,7 @@ const Account = () => {
await setLoading(false)
} catch (error) {
- console.log(error)
+
}
}
@@ -152,7 +151,7 @@ const Account = () => {
})
} catch (error) {
- console.log(error)
+
}
setActualState('')
diff --git a/src/components/BannerLogin.jsx b/src/components/BannerLogin.jsx
index cf7403e..c9d3b34 100644
--- a/src/components/BannerLogin.jsx
+++ b/src/components/BannerLogin.jsx
@@ -2,7 +2,7 @@ import React from 'react'
const BannerLogin = (props) => {
- console.log('BANNER LOGIN DEPLOYED')
+
return (
<>
diff --git a/src/components/ClockifyTasksDisplay.jsx b/src/components/ClockifyTasksDisplay.jsx
index 15f204c..7ec34c1 100644
--- a/src/components/ClockifyTasksDisplay.jsx
+++ b/src/components/ClockifyTasksDisplay.jsx
@@ -26,13 +26,13 @@ const ClockifyTasksDisplay = (props) => {
const db = await getFirestore(firebase)
const reference = await doc(db, 'users', userUID)
- console.log(reference)
+
const dataSnap = await getDoc(reference)
const result = await dataSnap.data()
- console.log(userUID)
- console.log(result)
+
+
if (result.keyClockify) {
@@ -41,7 +41,7 @@ const ClockifyTasksDisplay = (props) => {
} catch (error) {
- console.log(error)
+
}
}
@@ -62,7 +62,7 @@ const ClockifyTasksDisplay = (props) => {
return await data
} catch (error) {
- console.log(error)
+
}
}
@@ -70,7 +70,7 @@ const ClockifyTasksDisplay = (props) => {
const getApiKeyReturn = key
- console.log(props.apiKey)
+
const data = await makeRequestWorkspaces(key)
@@ -89,7 +89,7 @@ const ClockifyTasksDisplay = (props) => {
setLoading(false)
}
- console.log(workspaces)
+
}
React.useEffect( () => {
@@ -128,12 +128,12 @@ const ClockifyTasksDisplay = (props) => {
const response = await fetch(`https://api.clockify.me/api/v1/workspaces/${e}/projects`, request)
const data = await response.json()
- console.log(data)
+
return await data
} catch (error) {
- console.log(error)
+
}
}
@@ -155,7 +155,7 @@ const ClockifyTasksDisplay = (props) => {
if (projects) {
- console.log(projects)
+
setProjectsDone(true)
}
diff --git a/src/components/GoDownArrow.jsx b/src/components/GoDownArrow.jsx
index 74ffed0..960c2b8 100644
--- a/src/components/GoDownArrow.jsx
+++ b/src/components/GoDownArrow.jsx
@@ -6,7 +6,7 @@ const GoDownArrow = (props) => {
const width = window.screen.width
- console.log(width)
+
if (width <= '991.98') {
return (
@@ -16,7 +16,7 @@ const GoDownArrow = (props) => {
)
}
- console.log('GO DOWN ARROW DEPLOYED')
+
return (
diff --git a/src/components/Header.jsx b/src/components/Header.jsx
index 04500c9..dfc576c 100644
--- a/src/components/Header.jsx
+++ b/src/components/Header.jsx
@@ -4,7 +4,7 @@ import GoToAccount from './Header Childrens/GoToAccount'
const Header = (props) => {
- console.log("HEADER DEPLOYED")
+
return (
diff --git a/src/components/Identify.jsx b/src/components/Identify.jsx
index 58bb46c..8540929 100644
--- a/src/components/Identify.jsx
+++ b/src/components/Identify.jsx
@@ -32,17 +32,17 @@ const Identify = (props) => {
try {
const response = await createUserWithEmailAndPassword(auth, email, password)
- console.log(response)
- console.log(response.user)
+
+
const uid = response.user.uid
addNewUserToFirebase(uid)
} catch (error) {
- console.log(error)
+
setMessage(error.message)
- console.log(message)
+
}
}
@@ -72,13 +72,13 @@ const Identify = (props) => {
try {
const response = await signInWithEmailAndPassword(auth, email, password)
- console.log(response)
- console.log(response.user)
+
+
props.history.push('/config-account')
} catch (error) {
- console.log(error)
+
setErrorMessage('USER OR PASSWORD NOT VALID')
}
}
diff --git a/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx b/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx
index f30ac1e..3728ff2 100644
--- a/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx
+++ b/src/components/Main Pomodoro Childrens/MainPomodoroTimer.jsx
@@ -364,16 +364,16 @@ const MainPomodoroTimer = (props) => {
if (weAreInBreakTime) {
- console.log(restCounter)
+
if (restCounter === 4) {
- console.log('AA3')
+
setPomodoroCounter('Long Rest')
setRestCounter(0)
} else {
- console.log('AA2')
+
setPomodoroCounter('Rest')
}
diff --git a/src/components/MainPomodoro.jsx b/src/components/MainPomodoro.jsx
index dd3c118..ca1e19a 100644
--- a/src/components/MainPomodoro.jsx
+++ b/src/components/MainPomodoro.jsx
@@ -6,7 +6,7 @@ import uploadToClockifyTimer from './Clockify/uploadToClockifyTimer'
const MainPomodoro = (props) => {
- console.log('MAIN POMODORO DEPLOYED')
+
const [style, setStyle] = useState('Regular')
const [displayHidden, setDisplayHidden] = useState(true)
@@ -22,7 +22,7 @@ const MainPomodoro = (props) => {
const showStyles = () => {
- console.log('Styles Deployed')
+
setDisplayHidden(!displayHidden)
}
diff --git a/src/components/Misc/randomText.js b/src/components/Misc/randomText.js
index 6c4f718..0a71ef4 100644
--- a/src/components/Misc/randomText.js
+++ b/src/components/Misc/randomText.js
@@ -15,8 +15,8 @@ const randomText = (typeTimer) => {
const selection = Math.random() * (max - min) + min;
- console.log(workPhrases)
- console.log(selection)
+
+
return workPhrases[selection]
}
@@ -28,8 +28,8 @@ const randomText = (typeTimer) => {
const selection = Math.random() * (max - min) + min;
- console.log(restPhrases)
- console.log(selection)
+
+
return restPhrases[selection]
}