Skip to content

Commit

Permalink
Added comma at the end of error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronenii authored and Idan-sh committed Aug 26, 2024
1 parent 5e13aa9 commit cf83f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/create.poll.form.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function isAllVotingItemsDefined(votingItems: string[]): boolean {
}

if (!isDeadlineValid(formData.deadline)) {
errors.push("Deadline should be a valid date in the future\n");
errors.push("Deadline should be a valid date in the future.\n");
}

return {
Expand Down

0 comments on commit cf83f2c

Please sign in to comment.