mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 13:55:21 +02:00
style(kubernetes): disable autoFocus warning [EE-5752] (#10367)
This commit is contained in:
parent
3994d74c71
commit
fa087f0bb9
1 changed files with 4 additions and 0 deletions
|
@ -132,6 +132,10 @@ 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
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue