Added the upload to clockify function

This commit is contained in:
2021-09-30 15:20:05 -03:00
parent 362eb2bb59
commit 47a625183d
4 changed files with 47 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
import React, {useState} from 'react'
import uploadToClockifyTimer from '../Clockify/uploadToClockifyTimer'
const MainPomodoroTimer = (props) => {
const [minutes, setMinutes] = useState(25)
@@ -233,6 +235,8 @@ const MainPomodoroTimer = (props) => {
}, 1000)
}
uploadToClockifyTimer( props.workspaceID, props.projectID, '2021-10-02T13:00:14Z', '2021-10-02T15:00:14Z', props.apiKey)
}