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

pull/10376/head
Chaim Lev-Ari 2023-09-25 20:13:31 +03:00 committed by GitHub
parent 57e04c3544
commit 3d19c46326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -132,6 +132,9 @@ 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
/>