console.log deleted

This commit is contained in:
2021-10-02 09:42:50 -03:00
parent 35a587927f
commit f4f95bffec
10 changed files with 34 additions and 37 deletions

View File

@@ -2,8 +2,6 @@ import React from 'react'
const AboutThis = () => { const AboutThis = () => {
console.log('ABOUT THIS DEPLOYED')
return ( return (
<div id="about-this"> <div id="about-this">
<div className="titles"> <div className="titles">

View File

@@ -41,7 +41,6 @@ const Account = () => {
e.target.reset() e.target.reset()
const data = await makeRequest() const data = await makeRequest()
console.log(data)
if (await validateRequest(data)) { if (await validateRequest(data)) {
@@ -83,7 +82,7 @@ const Account = () => {
return await data return await data
} catch (error) { } catch (error) {
console.log(error)
} }
} }
@@ -111,7 +110,7 @@ const Account = () => {
} }
catch (error) { catch (error) {
console.log(error)
return false return false
} }
} }
@@ -128,7 +127,7 @@ const Account = () => {
await setLoading(false) await setLoading(false)
} catch (error) { } catch (error) {
console.log(error)
} }
} }
@@ -152,7 +151,7 @@ const Account = () => {
}) })
} catch (error) { } catch (error) {
console.log(error)
} }
setActualState('') setActualState('')

View File

@@ -2,7 +2,7 @@ import React from 'react'
const BannerLogin = (props) => { const BannerLogin = (props) => {
console.log('BANNER LOGIN DEPLOYED')
return ( return (
<> <>

View File

@@ -26,13 +26,13 @@ const ClockifyTasksDisplay = (props) => {
const db = await getFirestore(firebase) const db = await getFirestore(firebase)
const reference = await doc(db, 'users', userUID) const reference = await doc(db, 'users', userUID)
console.log(reference)
const dataSnap = await getDoc(reference) const dataSnap = await getDoc(reference)
const result = await dataSnap.data() const result = await dataSnap.data()
console.log(userUID)
console.log(result)
if (result.keyClockify) { if (result.keyClockify) {
@@ -41,7 +41,7 @@ const ClockifyTasksDisplay = (props) => {
} catch (error) { } catch (error) {
console.log(error)
} }
} }
@@ -62,7 +62,7 @@ const ClockifyTasksDisplay = (props) => {
return await data return await data
} catch (error) { } catch (error) {
console.log(error)
} }
} }
@@ -70,7 +70,7 @@ const ClockifyTasksDisplay = (props) => {
const getApiKeyReturn = key const getApiKeyReturn = key
console.log(props.apiKey)
const data = await makeRequestWorkspaces(key) const data = await makeRequestWorkspaces(key)
@@ -89,7 +89,7 @@ const ClockifyTasksDisplay = (props) => {
setLoading(false) setLoading(false)
} }
console.log(workspaces)
} }
React.useEffect( () => { React.useEffect( () => {
@@ -128,12 +128,12 @@ const ClockifyTasksDisplay = (props) => {
const response = await fetch(`https://api.clockify.me/api/v1/workspaces/${e}/projects`, request) const response = await fetch(`https://api.clockify.me/api/v1/workspaces/${e}/projects`, request)
const data = await response.json() const data = await response.json()
console.log(data)
return await data return await data
} catch (error) { } catch (error) {
console.log(error)
} }
} }
@@ -155,7 +155,7 @@ const ClockifyTasksDisplay = (props) => {
if (projects) { if (projects) {
console.log(projects)
setProjectsDone(true) setProjectsDone(true)
} }

View File

@@ -6,7 +6,7 @@ const GoDownArrow = (props) => {
const width = window.screen.width const width = window.screen.width
console.log(width)
if (width <= '991.98') { if (width <= '991.98') {
return ( return (
@@ -16,7 +16,7 @@ const GoDownArrow = (props) => {
) )
} }
console.log('GO DOWN ARROW DEPLOYED')
return ( return (
<div className="go-down"> <div className="go-down">

View File

@@ -4,7 +4,7 @@ import GoToAccount from './Header Childrens/GoToAccount'
const Header = (props) => { const Header = (props) => {
console.log("HEADER DEPLOYED")
return ( return (
<header className="header-main-page"> <header className="header-main-page">

View File

@@ -32,17 +32,17 @@ const Identify = (props) => {
try { try {
const response = await createUserWithEmailAndPassword(auth, email, password) const response = await createUserWithEmailAndPassword(auth, email, password)
console.log(response)
console.log(response.user)
const uid = response.user.uid const uid = response.user.uid
addNewUserToFirebase(uid) addNewUserToFirebase(uid)
} catch (error) { } catch (error) {
console.log(error)
setMessage(error.message) setMessage(error.message)
console.log(message)
} }
} }
@@ -72,13 +72,13 @@ const Identify = (props) => {
try { try {
const response = await signInWithEmailAndPassword(auth, email, password) const response = await signInWithEmailAndPassword(auth, email, password)
console.log(response)
console.log(response.user)
props.history.push('/config-account') props.history.push('/config-account')
} catch (error) { } catch (error) {
console.log(error)
setErrorMessage('USER OR PASSWORD NOT VALID') setErrorMessage('USER OR PASSWORD NOT VALID')
} }
} }

View File

@@ -364,16 +364,16 @@ const MainPomodoroTimer = (props) => {
if (weAreInBreakTime) { if (weAreInBreakTime) {
console.log(restCounter)
if (restCounter === 4) { if (restCounter === 4) {
console.log('AA3')
setPomodoroCounter('Long Rest') setPomodoroCounter('Long Rest')
setRestCounter(0) setRestCounter(0)
} else { } else {
console.log('AA2')
setPomodoroCounter('Rest') setPomodoroCounter('Rest')
} }

View File

@@ -6,7 +6,7 @@ import uploadToClockifyTimer from './Clockify/uploadToClockifyTimer'
const MainPomodoro = (props) => { const MainPomodoro = (props) => {
console.log('MAIN POMODORO DEPLOYED')
const [style, setStyle] = useState('Regular') const [style, setStyle] = useState('Regular')
const [displayHidden, setDisplayHidden] = useState(true) const [displayHidden, setDisplayHidden] = useState(true)
@@ -22,7 +22,7 @@ const MainPomodoro = (props) => {
const showStyles = () => { const showStyles = () => {
console.log('Styles Deployed')
setDisplayHidden(!displayHidden) setDisplayHidden(!displayHidden)
} }

View File

@@ -15,8 +15,8 @@ const randomText = (typeTimer) => {
const selection = Math.random() * (max - min) + min; const selection = Math.random() * (max - min) + min;
console.log(workPhrases)
console.log(selection)
return workPhrases[selection] return workPhrases[selection]
} }
@@ -28,8 +28,8 @@ const randomText = (typeTimer) => {
const selection = Math.random() * (max - min) + min; const selection = Math.random() * (max - min) + min;
console.log(restPhrases)
console.log(selection)
return restPhrases[selection] return restPhrases[selection]
} }