Skip to content

Commit ebd080d

Browse files
committed
keep user input, remove strict react
1 parent 299649a commit ebd080d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

site/src/DynamicForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ export function DynamicForm() {
452452
}}
453453
className="w-[300px]"
454454
type={mapParamTypeToInputType(param.type)}
455-
value={field.value}
455+
// value={field.value}
456456
defaultValue={parameterValue(param.default_value)}
457457
disabled={(param.form_type_metadata as { disabled?: boolean })?.disabled}
458458
/>

site/src/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import './index.css'
44
import App from './App.tsx'
55

66
createRoot(document.getElementById('root')!).render(
7-
<StrictMode>
7+
// <StrictMode>
88
<App />
9-
</StrictMode>,
9+
// </StrictMode>,
1010
)

0 commit comments

Comments
 (0)