|
|
@ -63,12 +63,6 @@ const ErrorMessage = styled.div`
|
|
|
|
`;
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
|
|
export default class DuplicateDevice extends Component<Props, State> {
|
|
|
|
export default class DuplicateDevice extends Component<Props, State> {
|
|
|
|
state: State;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input: ?HTMLInputElement;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keyboardHandler: (event: KeyboardEvent) => void;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
constructor(props: Props) {
|
|
|
|
constructor(props: Props) {
|
|
|
|
super(props);
|
|
|
|
super(props);
|
|
|
|
|
|
|
|
|
|
|
@ -85,6 +79,12 @@ export default class DuplicateDevice extends Component<Props, State> {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
state: State;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
input: ?HTMLInputElement;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
keyboardHandler: (event: KeyboardEvent) => void;
|
|
|
|
|
|
|
|
|
|
|
|
componentDidMount(): void {
|
|
|
|
componentDidMount(): void {
|
|
|
|
// one time autofocus
|
|
|
|
// one time autofocus
|
|
|
|
if (this.input) this.input.focus();
|
|
|
|
if (this.input) this.input.focus();
|
|
|
|