Skip to content

Commit 014f549

Browse files
authored
Set default value for currentName in UniqueNameInput component (#735)
Signed-off-by: Ayoub LABIDI <[email protected]>
1 parent 0af45ca commit 014f549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/inputs/reactHookForm/text/UniqueNameInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function UniqueNameInput({
4343
autoFocus,
4444
onManualChangeCallback,
4545
formProps,
46-
currentName,
46+
currentName = '',
4747
activeDirectory,
4848
sx,
4949
fullWidth = true,

0 commit comments

Comments
 (0)