Skip to content

Commit

Permalink
fix : textareas must not have leading or trailing white space on prog…
Browse files Browse the repository at this point in the history
…ress update form (#1171)
  • Loading branch information
Atifsid committed Mar 9, 2024
1 parent 4637cc9 commit 948054a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ProgressForm/ProgressForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const ProgressForm = ({ questions }: formProps) => {
const data = {
type: 'task',
taskId: router.query.id,
completed: state.progress,
planned: state.plan,
blockers: state.blockers,
completed: state.progress.trim(),
planned: state.plan.trim(),
blockers: state.blockers.trim(),
};
saveProgress(data)
.unwrap()
Expand Down

0 comments on commit 948054a

Please sign in to comment.