Skip to content
Merged
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

const authTypeChangeHandler = useCallback(() => {
handlerState.password = '';
}, []);

Check warning on line 84 in webapp/packages/plugin-connections/src/ConnectionForm/SSH/SSH.tsx

View workflow job for this annotation

GitHub Actions / Frontend / Lint

React Hook useCallback has a missing dependency: 'handlerState'. Either include it or remove the dependency array

useAutoLoad(SSH, [SSHPart, optionsPart], selected);

Expand Down Expand Up @@ -128,7 +128,7 @@
<InputField
type="password"
name="password"
autoComplete="section-ssh-authentication current-password"
autoComplete="section-ssh-authentication new-password"
state={handlerState}
readOnly={disabled || !enabled}
required={!passwordSaved && !keyAuth && handlerState.savePassword}
Expand Down
Loading