Skip to content

Commit

Permalink
Fix incorrect form name for session target duration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xi4o committed Aug 26, 2024
1 parent 6ad6ee7 commit 118e731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/editor/writing-session-timer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ const WritingSessionTimer = ({
event.preventDefault()
const formData = new FormData(event.currentTarget)
const targetDuration = parseInt(
formData.get('target-duration') as string,
formData.get('session-duration') as string,
10
)
const focusMode = formData.get('focus-mode') === 'on'
Expand Down

0 comments on commit 118e731

Please sign in to comment.