From f0cdd89e2e1fe2e543695bfeec20865ea89e962c Mon Sep 17 00:00:00 2001 From: camilovegag Date: Mon, 12 Feb 2024 12:34:42 -0500 Subject: [PATCH] Add nullish coalescing operator to value --- packages/berlin/src/pages/Register.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/berlin/src/pages/Register.tsx b/packages/berlin/src/pages/Register.tsx index 35cc0f07..744d7950 100644 --- a/packages/berlin/src/pages/Register.tsx +++ b/packages/berlin/src/pages/Register.tsx @@ -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 /> ))}