Skip to content

Commit

Permalink
Afegir set year
Browse files Browse the repository at this point in the history
  • Loading branch information
marcfranquesa committed Mar 15, 2024
1 parent e63418f commit dd3c389
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export function ProfileForm({
render={({ field }) => {
if (!field.value) {
field.value = default_year.toString()
field.onChange(default_year.toString())
}

return (
Expand Down

0 comments on commit dd3c389

Please sign in to comment.