Skip to content

Commit

Permalink
Add nullish coalescing operator to value
Browse files Browse the repository at this point in the history
  • Loading branch information
camilovegag committed Feb 12, 2024
1 parent 7fec89d commit f0cdd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/berlin/src/pages/Register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ function RegisterForm(props: {
type={regField.type}
register={register}
control={control}
value={values[regField.id]} // Current input value
value={values[regField.id] ?? ''} // Current input value
/>
))}
</FlexColumn>
Expand Down

0 comments on commit f0cdd89

Please sign in to comment.