fix: remove redundant wrapper div in password field
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user