fix: remove redundant wrapper div in password field

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
chihlasm
2026-03-13 02:48:30 -04:00
parent 64b02159e0
commit 844b792bc2

View File

@@ -52,7 +52,6 @@ export function ScriptParameterField({ param, value, error, disabled }: Props) {
} else if (param.type === 'password') { } else if (param.type === 'password') {
errorRenderedByComponent = true errorRenderedByComponent = true
input = ( input = (
<div className="flex flex-col gap-1">
<div className="relative"> <div className="relative">
<Input <Input
id={id} id={id}
@@ -73,7 +72,6 @@ export function ScriptParameterField({ param, value, error, disabled }: Props) {
{showPassword ? <EyeOff size={14} /> : <Eye size={14} />} {showPassword ? <EyeOff size={14} /> : <Eye size={14} />}
</button> </button>
</div> </div>
</div>
) )
} else if (param.type === 'textarea') { } else if (param.type === 'textarea') {
errorRenderedByComponent = true errorRenderedByComponent = true