Skip to content

Commit 79ab874

Browse files
authored
fix: controlled input warning (#1654)
Fixes the SourceForm `name` input switching from uncontrolled to controlled. <img width="753" height="272" alt="image" src="https://github.com/user-attachments/assets/818a7489-d237-416b-8826-a584ddf49fe5" />
1 parent 0dd5854 commit 79ab874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/components/Sources/SourceForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ export function TableSourceForm({
16111611
onSave,
16121612
onCreate,
16131613
isNew = false,
1614-
defaultName,
1614+
defaultName = '',
16151615
onCancel,
16161616
}: {
16171617
sourceId?: string;

0 commit comments

Comments
 (0)