mirror of
https://github.com/FranP-code/Pomodoro-Timer-with-Clockify-integration.git
synced 2025-10-12 23:52:30 +00:00
Fixes
This commit is contained in:
@@ -103,6 +103,9 @@ function App() {
|
||||
/>
|
||||
|
||||
<ClockifyTasksDisplay
|
||||
|
||||
setTimerOn={setTimerOn}
|
||||
|
||||
signIn={signIn}
|
||||
timerOn={timerOn}
|
||||
|
||||
|
||||
@@ -219,6 +219,14 @@ const ClockifyTasksDisplay = (props) => {
|
||||
value={props.taskName}
|
||||
placeholder="Add task description"
|
||||
className={props.projectID !== 0 ? null: 'disabled'}
|
||||
|
||||
onKeyPress={event => {
|
||||
|
||||
if (event.key === 'Enter') {
|
||||
|
||||
props.setTimerOn(true)
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
: null
|
||||
|
||||
@@ -36,7 +36,6 @@ const MainPomodoro = (props) => {
|
||||
|
||||
setStartTime('')
|
||||
setEndTime('')
|
||||
props.setTaskName('')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user