onChange(e.target.value)}
@@ -60,13 +61,11 @@ const Input: FC
= ({
min={min}
max={max}
/>
- {
- validated && (
-
-
-
- )
- }
+ {validated && (
+
+
+
+ )}
)
}
diff --git a/web/app/components/header/account-setting/model-provider-page/model-modal/__snapshots__/Input.test.tsx.snap b/web/app/components/header/account-setting/model-provider-page/model-modal/__snapshots__/Input.test.tsx.snap
new file mode 100644
index 0000000000..9a5fe8dd29
--- /dev/null
+++ b/web/app/components/header/account-setting/model-provider-page/model-modal/__snapshots__/Input.test.tsx.snap
@@ -0,0 +1,24 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Input renders correctly as password type with no autocomplete 1`] = `
+