Skip to content

Commit 892a1bd

Browse files
refactor(SubstitutionRow): Add comment
1 parent b3d55ab commit 892a1bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/manager/components/transform/SubstitutionRow.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export default class SubstitutionRow extends Component<Props, Substitution> {
155155
<FormGroup style={{ margin: 0 }} validationState={isEditingInvalid ? 'error' : null}>
156156
<InputGroup>
157157
<FormControl
158+
// Autofocus the pattern field when user begins editing the substitution row.
158159
// eslint-disable-next-line jsx-a11y/no-autofocus
159160
autoFocus
160161
onChange={this._onChangePattern}

0 commit comments

Comments
 (0)