mirror of https://github.com/portainer/portainer
style(kubernetes): disable autoFocus warning [EE-5752] (#10368)
parent
57e04c3544
commit
3d19c46326
|
@ -132,6 +132,9 @@ export function ConsoleView() {
|
||||||
value={command}
|
value={command}
|
||||||
onChange={(e) => setCommand(e.target.value)}
|
onChange={(e) => setCommand(e.target.value)}
|
||||||
id="consoleCommand"
|
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
|
// eslint-disable-next-line jsx-a11y/no-autofocus
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue