style(kubernetes): disable autoFocus warning [EE-5752] (#10367)

fix/EE-4602/switch-color-fix-rel-new
Chaim Lev-Ari 1 year ago committed by GitHub
parent 3994d74c71
commit fa087f0bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -132,6 +132,10 @@ export function ConsoleView() {
value={command}
onChange={(e) => setCommand(e.target.value)}
id="consoleCommand"
// disable eslint because we want to autofocus
// this is ok because we only have one input on the page
// https://portainer.atlassian.net/browse/EE-5752
// eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus
/>
</div>

Loading…
Cancel
Save